write a program that prompts the user to enter mark for 10 subjects let the program compute the average mark and use it to display a special message in the following points;
a)if average mark is less than 40 display fail
b)if the average mark is greater than 40 but less than 60 display credit
c)if equal to o greater than 60 display distinction
d)if less than 0 or greater than 100 display error
Comments
Leave a comment