deyanivanov966

CONDITIONAL STATEMENTS - LAB 01. Excellent Result

Aug 21st, 2020 (edited)
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Main {
  4.  
  5.     public static void main(String[] args) {
  6.         Scanner scanner = new Scanner (System.in);
  7.  
  8.         int A = Integer.parseInt(scanner.nextLine());
  9.  
  10.         if (A>=5){
  11.             System.out.println("Excellent!");
  12.         }
  13.  
  14.  
  15.     }
  16. }
Add Comment
Please, Sign In to add comment