+ 2
How gate answer error
public class Program { public static void main(String[] args) { int age = 25; if(age > 0) { if(age <= 16) { System.out.println("Welcome!"); } else { System.out.println("Too Young"); } } else { System.out.println("Error"); } } }
1 Respuesta
0
I have run the above code and I an getting "Too Young" as output,which is correct