string input using bufferedreader in java code example
Example 1: how to read integer input using bufferedreader java
BufferedReader reader =new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(reader.readLine());
Example 2: read input from console
variable = input()