Quick Start C: Loops, Arrays, Functions
The arithmetic mean of positive
The sequence of real numbers is given. Find the arithmetic mean of positive numbers.
First line contains amount n (0 < n ≤ 100) of real numbers. Next line contains n real numbers, each of them is not greater than 100 by absolute value.
Print the arithmetic mean of positive numbers with 2 digits after decimal point. If the positive numbers do not appear in the sequence, print "Not Found" (without quotes).
3 5.2 -2 4
3 -5.2 -2 -4