Question: Using c plus plus shell a) Read 5 numbers from the user, utilizing a FOR loop structure b) Calculate the average of the 5 numbers.

Using c plus plus shell
 Using c plus plus shell a) Read 5 numbers from the

a) Read 5 numbers from the user, utilizing a FOR loop structure b) Calculate the average of the 5 numbers. You should use a floating point variable for this c) Print out "Average ", then the average d) Repeat this program using a WHILE loop

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!