10.Write a program that reads in ten whole numbers and that outputs the sum of a
ID: 3620272 • Letter: 1
Question
10.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 postive negative, or zero. The user enters the ten numbers just once in any order.Your program should not ask the user to enter the positive numbers and the negative numbers sepeartely.11.Modify your program from the programming project 10 so that it outputs the sum of all positive numbers, the average of all positive number,the sum of all negative numbers, the average of all negative numbers, the sum of all positive and negative numbers, an the average of all numberes entered.
Explanation / Answer
please rate - thanks in the future 1 question per post -------------------------------Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.