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