Task

Create a function that returns the maximum value in a provided set of values,

where the number of values may not be known until run-time.




concept largest(l) {
	large = l[0]
	for element in l
		if element > large
			large = element
		end
	end
	return large
}
 
software {
	print(largest([23, 1313, 21, 35757, 4, 434, 232, 2, 2342]))
}