Import java.util.Scanner;
public class MyProg {
public static void main (String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("Введите координату точки: ");
double x = s.nextFloat();
if (x<=8.0f && x>=3.0f)
{
System.out.print("true");
}
else
{
System.out.print("false");
}
}
}