Question: Use c plus plus shell for program 3 Program #2-Loop Structures a) Read 5 numbers from the user, utilizing a FOR loop structure b) Calculate

Use c plus plus shell for program 3
 Use c plus plus shell for program 3 Program #2-Loop Structures

Program #2-Loop Structures 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 Program #3-Subroutines Modify Program #2 to do three separate averages by calling an averaging subroutine named numavg(). Display the average each time

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!