Not exactly sure whats wrong? What does it mean by not matching pattern? The program runs fine, would appreciate any help, thanks in advance.
import java.util.Scanner;
public class GradesAndPoints {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int input1;
System.out.println("Give points {0-100}: ");
input1 = scanner.nextInt();
if (input1 < 0) {
System.out.println("impossible!");
} else if (input1 <= 49) {
System.out.println("failed");
} else if (input1 <= 59) {
System.out.println("1");
} else if (input1 <= 69) {
System.out.println("2");
} else if (input1 <= 79) {
System.out.println("3");
} else if (input1 <= 89) {
System.out.println("4");
} else if (input1 <= 100) {
System.out.println("5");
} else if (input1 > 100) {
System.out.println("incredible!");
}
}
}