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

Sums and averages Write a program chat asks the user to input a list of numbers,

ID: 3551217 • Letter: S

Question

Sums and averages

Write a program chat asks the user to input a list of numbers, one at a time, until the user is finished. The program should keep track of how many numbers, how many positive numbers, and how many negative numbers were entered. It should also calculate the sums for each of these (positives, negatives, and total). After exiting the loop, the program should calculate the averages for each (positives, negatives, and total).Then output the sums and their averages, with labels describing each output appropriately. Note that there may be no positives, or no negatives, or no numbers at all in a list! Also, a 0 counts as a number in the overall list, but it doesn't counts as positive or negative. Allow the user to enter as many lists as they like. Note that there is no data check for a bad number - any integer is valid! Data to test/run:

Explanation / Answer

Hi here is your program:

http://pastebin.com/6Z8TNGS0


Kindly review and rate.


Thanks

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote