Computer Science, asked by 5gen, 10 hours ago

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 dimpal13452sjaipur3
0

Answer:

rbtnt3nthrveceg4

Explanation:

tbrgnhrkyrndv3

Answered by Yashi03032007
6

Refer to the attachment

Attachments:
Similar questions