
add tow numbers with out using arthamatic operaters

Hi Friend,
Try this:
import java.math.*;
class AddNumbers
{
public static void main(String[] args)
{
BigInteger num1=new BigInteger("100");
BigInteger num2=new BigInteger("50");
BigInteger result=num1.add(num2);
System.out.println(result);
}
}
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.