It looks like it's done right, but I assume the curly braces not located correctly. PLEASE HELP. I dont know what else to do to satisfy 5."If the age is less than 6, then don't display anything". Everything else works. I tried not to put anything in 21st lane, but same result comes out..
package en.codegym.task.pro.task03.task0303;
import java.util.Scanner;
/*
School or college
*/
public class Solution {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
int age = keyboard.nextInt();
System.out.println();
if (age < 18 && age >= 6) {
System.out.println("Off to school with you, my child");
} else if (age >= 18) {
System.out.println("Your college class starts soon");
} else if (age < 6) {
System.out.println();
}
}
}