Computer Science, asked by evan35, 3 months ago

Write a java program to accept the name and average mark obtained by a

student. Display the grade as per the table given below. [15]

Mark obtained Grade

90% or above Excellent

80% or more Distinction

60% or more but less than 80% First class

50% or more but less than 60% Second class

40% or more but Less than 50% Passed​

Answers

Answered by Manav987Acharya
0

Answer:

input student's gradeif grade < 100 AND grade > 75 { student got an A }else if grade < 75 AND grade > 60 { student got a B }else if grade < 60 AND grade > 50 { student got a C }else if grade < 50 AND grade > 40 { student got a D }else { student got an F } // didn't fit into any of the above scenerios, so must be an Fprint to screen what the student got

Similar questions