Java BigInteger

  • + 0 comments

    Scanner sc=new Scanner(System.in); BigInteger b1=sc.nextBigInteger(); BigInteger b2=sc.nextBigInteger(); BigInteger sum=b1.add(b2); BigInteger mul=b1.multiply(b2); System.out.println(sum); System.out.println(mul);

    }
    

    }