Need help here..

I can't figure out how to solve it.. hope anyone can give me a hint on it.. urgent.. here's the ques - with a complete program which reads floating point number from keyboard and computes two average : the average of the negative numbers it reads and the average of the positive numbers it reads. for example, for input 9, -1, -1, -4, 1 the positive average would be 5 (the sum of the positive number (9+1) divided by the positive number (2). by a similar process the average of the negative numbers would be -2 (ie, ((-1 + -1 + -4)/3)
Are you able to write a normal average program?
Maybe start with the first part.
a complete program which reads floating point number from keyboard
Topic archived. No new replies allowed.