reet, its meant to tell you if the number that the user inputs is between the range but for some reason it doesn't like it. Any help would be great.
import java.util.*; // the package containing Scanner
public class Range
{
public static void main(String[] args)
{
Scanner kybd = new Scanner(System.in);
//input
System.out.println("Enter an integer");
int Num1;
Num1 = kybd.nextInt();
//calculations and output
If ((10 <= Num1)&&(Num1<=50) )
System.out.println("The Integer is between 10 and 50" );
Else
System.out.println("The integer is not within the boundaries");
}
}