Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package conditionalStatements;
- import java.util.Scanner;
- public class P01ExcellentResult {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- int grade = Integer.parseInt(scanner.nextLine());
- if (grade >= 5) {
- System.out.println("Excellent!");
- }
- }
- }
Add Comment
Please, Sign In to add comment