You are viewing a single comment's thread. Return to all comments →
Here's the code
import java.util.*; import java.math.*; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); BigInteger num1 = sc.nextBigInteger(); BigInteger num2 = sc.nextBigInteger(); sc.close(); System.out.println(num1.add(num2)); System.out.println(num1.multiply(num2)); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Java BigInteger
You are viewing a single comment's thread. Return to all comments →
Here's the code