Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- /*
- * Created by todor on 17.01.2017 г..
- */
- public class u01_ExcellentResult {
- public static void main(String[] args) {
- Scanner scan = new Scanner(System.in);
- double grade = Double.parseDouble(scan.nextLine());
- if (grade >= 5.5){
- System.out.println("Excellent!");
- }
- }
- }
Add Comment
Please, Sign In to add comment