Computer Science, asked by ramrameshwaramram, 7 months ago

write the java statement to check if the marks are more than 50 but less than 80​

Answers

Answered by shanmithasj
3

Answer:

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