Program

Hi Guys,

Aprreciate if anyone can help me out on this.

1. Write a program that reads integers from the keyboard. If any of the numbers are negative, it returns a negative number. If all the numbers are positive, it returns their average..

2. Write a program that reads integer data from the standard input unit and prints a
list of the numbers followed by the minimum integer read, maximum integer read,
and the average if the list. Test your program with the data shown below.
{24 7 31 -5 64 0 57 -23 7 63 31 15 7 -3 2 4 6}
Start of with what you know and post/ask specific questions if you don't know how to code in C++ start by reading http://www.cplusplus.com/doc/tutorial/
Topic archived. No new replies allowed.