Computer Science, asked by ivp, 7 months ago

write a java program to read marks in different subjects last semester and display in the screen

Answers

Answered by avnirastogi
1

Explanation:

This program calculates the grade of a student based on the marks entered by user in each subject. Program prints the grade based on this logic.

If the average of marks is >= 80 then prints Grade ‘A’

If the average is <80 and >=60 then prints Grade ‘B’

If the average is <60 and >=40 then prints Grade ‘C’

else prints Grade ‘D’

Similar questions