mmayoub

Ex01, 19.06.2021

Jun 20th, 2021
634
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data