Question: Write a console program that calculates the mean of two sets of numbers. The first set starts with an integral value stating the amount of

Write a console program that calculates the mean of two sets of numbers. The first set starts with an integral value stating the amount of numbers that follows. The second set of numbers are all positive and the program stops when a negative value is entered. Sample console output: Enter count : 3 4 6 11 The average is 7 2 4 6 8 -2 The average is 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!