desislava_topuzakova

1. Excellent Grade

Oct 24th, 2021
584
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package CodnitionalStatements;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class ExcellentGrade_01 {
  6.     public static void main(String[] args) {
  7.         Scanner scanner = new Scanner(System.in);
  8.         int grade = Integer.parseInt(scanner.nextLine());
  9.         if (grade >= 5) {
  10.             System.out.println("Excellent!");
  11.         }
  12.     }
  13. }
  14.  
RAW Paste Data