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 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
include iostream int main Declare variables int marks10 int highest 1 Initialize highest to a value ... View full answer
Get step-by-step solutions from verified subject matter experts
