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 {
System.out.print("Number: ");
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
String number = read.readLine();
System.out.println();
System.out.print("Name: ");
String name = read.readLine();
System.out.println();
System.out.print(name +" will take over the world in " + number +" 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 {
System.out.print("Number: ");
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
String number = read.readLine();
System.out.println();
System.out.print("Name: ");
String name = read.readLine();
System.out.println();
System.out.print(name +" will take over the world in " + number +" years. Mwa-ha-ha!");
}
}