import java.util.Scanner; public class SimpleBooleans { public static void main(String[] args) { System.out.println("10 > 5: " + (10 > 5)); System.out.println("10 < 5: " + (10 < 5)); System.out.println("10 == 10: " + (10 == 10)); System.out.println("10 >= 10: " + (10 >= 10)); System.out.println("10 <= 10: " + (10 <= 10)); Scanner in = new Scanner(System.in); System.out.print("Please enter a radius: "); double radius = in.nextDouble(); boolean valid = radius > 0; System.out.println("The radius entered is valid: " + valid); in.close(); } }