Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

b) A lecturer is required to enter the marks of 100 students and find the average mark and the maximum mark. Using for loop, develop

image text in transcribed

b) A lecturer is required to enter the marks of 100 students and find the average mark and the maximum mark. Using for loop, develop a C++ program that will ask the lecturer to enter the student's marks, and displays the output as follows: Marking scheme Mark Welcome to SU Please enter the mark for student 1.** Please enter the mark for stadent 2.** Part Documentation Compler directives Comments Input Output Variable Declaration Formulae Total 2 2 2 4 4 4 2 20 Please enter the mark for student 100- The average mark is: The maximum mark is

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

Students also viewed these Databases questions

Question

2. What, according to Sergey, was strange at this meeting?

Answered: 1 week ago

Question

3. Are our bosses always right? If not, what should we do?

Answered: 1 week ago