Question: Please use C language The following program segment is to calculate the average of 10 students' marks. Write the program using repetition structure to make

Please use C language Please use C language The following program segment is to calculate the

The following program segment is to calculate the average of 10 students' marks. Write the program using repetition structure to make it more efficient. Assume all variables have been declared. cin >> marki >> mark2 >> mark3 >> mark4 >> mark5 >> marko >> mark7 >> mark8 >> mark9 >> mark10; total - marki + mark2 + mark3 + mark4 + mark5 + mark6 + mark7 + mark8 + mark9 + mark10; average total cout

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!