I\'m learning Java through a series of explanations and exercises, and one of them was to create a program that would display a number grade (0-5) in accordance to a number
If you want to check if a number is between two values, you would use an and in your if statement:
if (points >= 40 && points <= 44) { System.out.println("Grade: 3."); }