tchenkov

L03u01_ExcellentResult

Jan 18th, 2017
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. /*
  4.  * Created by todor on 17.01.2017 г..
  5.  */
  6. public class u01_ExcellentResult {
  7.     public static void main(String[] args) {
  8.  
  9.         Scanner scan = new Scanner(System.in);
  10.  
  11.         double grade = Double.parseDouble(scan.nextLine());
  12.  
  13.         if (grade >= 5.5){
  14.             System.out.println("Excellent!");
  15.         }
  16.  
  17.     }
  18. }
Add Comment
Please, Sign In to add comment