Question: Write a complete C++ program segment to accept the marks of 10 students. The program must consist of: a) Declare appropriate variables in the

Write a complete C++ program segment to accept the marks of 10

Write a complete C++ program segment to accept the marks of 10 students. The program must consist of: a) Declare appropriate variables in the program. (2 marks) b) FOR loop statement for 10 students. (2 marks) c) Input marks for 10 students. (2 marks) d) Find the highest and lowest marks. (3 marks) e) Calculate the total and average of the marks. (2 marks) f) Display the results of highest, lowest, total and average of the marks. (4 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include iostream int main Declare variables int marks10 int highest 1 Initialize highest to a value ... View full answer

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 Programming Questions!