Computer Science, asked by vimal2032007, 26 days ago

8. To display grade of a student with following criteria: -

Attachments:

Answers

Answered by priya7668
0

Answer:

Here ,is your answer

I'm writing only main program by using Java language...

int marks = Integer.parseInt(br.readline());

if(marks>=0&&marks<=34)

System.out.print("Fail");

else

if ( marks>=35&&marks<=59)

System.out.print("Pas");

else

if(marks>=60&&marks<=79)

System.out.print("Good");

else

if(marks<=80)

System.out.print("Very good");

HOPE IT WILL HELP YOU!

Similar questions