Question: Write a program using a FOR loop to calculate the mean (average) of a series of numbers. The user will specify how many values they

Write a program using a FOR loop to calculate the mean (average) of a series of numbers. The user will specify how many values they have and will enter each value. Display the mean and the total number of values entered.

Use the following sample data to test your program:

RUN 1: 12, 5, 8, 15, 9

RUN 2: 100, 150, 127, 144, 139, 101, 161, 127, 133, 108

RUN 3: .4, .75, .6, .43, .57, .87

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!