I don't understand why the third task isn't met I did try to do
System.out.println(name);
System.out.println(age);
but the 4th task also became unchecked
but I did what it asked of me.
package com.codegym.task.task04.task0422;
/*
18+
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String name = reader.readLine();
int age = Integer.parseInt(reader.readLine());
if(age<18){
System.out.println("Grow up a little more.");
}
}
}