hi,
I'm trying to write a functions that return the following value. (Assume that a and n are parameters, where a is an array of int values and n is the lenght of the array.)
(a) The largest element in a.
(b) The average of all elements in a.
(c) The number of positive elements in a.
please help
e-mail [email protected]