a) Write a program that will accept as input the module mark obtained by each student in a class of any size. The program should accept as input the class size followed by the set of marks for the class. The program should count and then display the percentage of students that obtained a first class honours mark. To achieve first class honours a mark of 80 or greater is required.
b) What would you have to change in your program to count and then display the percentage of students that have failed. Assume that any mark under 40 is a fail mark

This question has been answered.

Get Answer