Java BigInteger

  • + 0 comments

    Scanner scan = new Scanner(System.in); BigInteger a = new BigInteger(scan.nextLine()); BigInteger b = new BigInteger(scan.nextLine()); System.out.println(a.add(b)); System.out.println(a.multiply(b));