23131w13qwe2waswdasw
public text v1 · immutablefunction median(nums:array 1..* of int):int
result nums (upper(nums)div 2)
end medians
var n : array 1 .. 10 of int := init (1,2,3,4,5,6,7,8,9,10)
put median(n)function median(nums:array 1..* of int):int
result nums (upper(nums)div 2)
end medians
var n : array 1 .. 10 of int := init (1,2,3,4,5,6,7,8,9,10)
put median(n)