Arrays - 1
Maximum of absolute values
The sequence of real numbers is given. Lets find their absolute values. Find the maximum value among these absolute values.
First line contains the number n (n ≤ 100) of elements in the sequence. Next line gives n real numbers - the elements of the sequence, which values do not exceed 100 by absolute value.
Print the maximum value among the absolute values of given numbers with 2 digits after the decimal point.
5 6 7.5 2.1 2.0 0
4 -76.45 7.5 -5.1 75.23