Java Demo
Java Code
Output
public class decison_making { public static void main(String []args) { int x; x=15; if (x <= 10) { System.out.println("The value of x is less than or equal to 10!"); } else { System.out.println("The condition is false; number is greater than 10!"); } } }