Javatpoint Logo

ho can i write code to add and multiply two unlimited number without using BigInteger class

By: pinkal*** On: Sat Dec 24 23:17:29 IST 2016     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
hello sir i want a code to add two unlimited numbers without using BigInteger Class...i got this project in my java interview....please send me the codeUp0Down

 
class add
{
int x,y,z,r;
void accept();
{
a=5;
b=9;
}
void add()
{
z=a+b;
}
void mul()
{
r=a*b;
}
void display()
{
system.out.println("value of a is"+a);
system.out.println("value of b is "+b);
system.out.println("sum is"+z);
system.out.println("mul is"+r);

}
}
Image Created0Down

By: [email protected] On: Sat Dec 24 23:54:21 IST 2016 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No
 
Image Created0Down

By: [email protected] On: Wed Dec 28 08:25:03 IST 2016 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No