package com.codegym.task.task03.task0319;
/*
Predictions
*/
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 num1 = reader.readLine();
String num2 = reader.readLine();
System.out.println(name + " will recieve " + num1 + " in " + num2 + " years.");
}
}
The code works says there is a typo but none whatsoever.
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Jesús de Llera
24 April 2019, 09:11
typo: "receive", not "recieve".
0
Mareike Frontend Developer
23 April 2019, 13:17
Hey, pay attention to "ie" / "ei" ;)
0