Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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 -------------------------------
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote