Advertisement
mmayoub

Ex01, 19.06.2021

Jun 20th, 2021
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Ex01 {
  4.     public static void main(String[] args) {
  5.         Scanner in = new Scanner(System.in);
  6.         int y;
  7.  
  8.         System.out.print("Enter your grade (0 to 100): ");
  9.         y = in.nextInt();
  10.         System.out.println("your grade is " + y);
  11.  
  12.         in.close();
  13.     }
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement