0
How to print " too young " in output
public class Program { public static void main(String[] args) { int age = 25; if(age < 16) { if(age < 17) { System.out.println("Welcome!"); } else { System.out.println("Too Young"); } } else { System.out.println("Error"); } } }
1 Answer
0
Ok I will try it