I compiled the program and it has the correct output and match the text requirements but still error
String name = reader.readLine();
String number = reader.readLine();
System.out.print(name+" will capture the world in "+number+" years. Mwa-ha-ha!");
output should be like this:Kevin will capture the world in 8 years. Mwa-ha-ha!
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 number = reader.readLine();
System.out.print(name+" will capture the world in "+number+" years. Mwa-ha-ha!");
}
}