Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use c plus plus language The following program segment is to calculate the average of 10 students' marks. Write the program using repetition structure

Please use c plus plus language image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions