buffered reader for big integer code example
Example: buffered reader for big integer
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
BigInteger num=BigInteger.ONE;
System.out.println("Please input the value for num.");
num=new BigInteger(br.readLine());