package com.javarush.test.level13.lesson11.home03;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Solution
{
public static void main(String[] args)
{
BufferedReader reader =new BufferedReader(new InputStreamReader(System.in));
int s3 = Integer.parseInt(reader.readLine());
System.out.print(s3);
}
}
I reached the end of level 13 and I can’t work any further!
readLine
The object method
reader
does not work at all, in the Idea it is underlined in red and when launched the error
Error:(13, 50) java: unreported exception java.io.IOException; must be caught or declared to be thrown . I don’t know what happened and I can’t complete the tasks. What can you help?
GO TO FULL VERSION