All pastes #234428 Raw Edit

23131w13qwe2waswdasw

public text v1 · immutable
·published 2006-11-02 15:34 UTC
rendered paste body
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)