Computer Science, asked by jhajalpana, 10 months ago

bhai please tell me fast as soon as possible ​

Attachments:

Answers

Answered by misquat23
0

Answer:

class Hi

{

public void main(int m)

{

if(m<=100 && m>=90)

{

System. out. println("Grade =A") ;

}

else if(m<=89 && m>=80)

{

System. out. println ("Grade=B") ;

}

else if(m<=79 && m>=70)

{

System. out. println("Grade=C") ;

}

else if(m<=50 && m>=69)

{

System. out. println("Grade=D") ;

}

else

{

System. out. println("Grade=E") ;

}

}

}

Similar questions