import java.util.Scanner;
public class Program
{
public static void main(String args[])
{
int m;
Scanner mscanner = new Scanner(System.in);
m = mscanner.nextInt();
if (m >=90){
System.out.println("1st");
}else if (m >= 60){
System.out.println("2nd");
}else if (m >=30){
System.out.println("3rd");
}else{
System.out.println("Fail");
}
}
}
Just a first try
it's my first Java program
procedure: It will say to give a number from 1 to 100 after running
output:
According to it, it'll give you a grade
Answers
Answered by
0
Answer:
rbtnt3nthrveceg4
Explanation:
tbrgnhrkyrndv3
Answered by
6
Refer to the attachment
Attachments:
Similar questions
Political Science,
5 hours ago
English,
5 hours ago
Math,
5 hours ago
CBSE BOARD X,
10 hours ago
Math,
8 months ago