My code works perfectly, but does not fulfill the last requirement that it must fully match the task conditions. What did I do wrong?
package com.codegym.task.task03.task0318;
/*
Plan to conquer the world
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String name = reader.readLine();
String numYears = reader.readLine();
System.out.println(name +" will take over the world in "+ numYears+" years. Mwa-ha-ha!");
}
}