C++ Programming Help Please!
NOTE: Please READ All Steps very carefully. DO #10! (10 is based off of 9).
Program Info:
#9. Write a program that reads in ten whole numbers and that outputs the sum of all the numbers greater than zero, the sum of all the numbers less than zero (which will be a negative number or zero), and the sum of all the numbers, whether positive, negative, or zero. The user enters the ten numbers just once each and the user can enter them in any order. Your program should not ask the user to enter the positive numbers and the negative numbers separately. 10. Modify your program from Programming Project 9 so that it outputs the sum of all positive numbers, the average of all positive numbers, the sum of all nonpositive numbers, the average of all nonpositive numbers, the sum of all positive and nonpositive numbers, and the average of all numbers entered.
#10. Modify your program from Programming ***Project 9*** so that it outputs the sum of all positive numbers, the average of all positive numbers, the sum of all nonpositive numbers, the average of all nonpositive numbers, the sum of all positive and nonpositive numbers, and the average of all numbers entered.
More Important Info:
You will need a counting loop that goes from 0 to 10.
Inside the loop, separate the positive and negative numbers using an if/else
maintain the total of the positive and negative numbers in the if/else
maintain the grand total in the body of the loop.
outside the loop, print the report of the total of the positive, negative and the grand total.
You should also count the number of the positive and negative numbers and print it at the end.
Document like your life depends on it!