Maths & Java(Would you like to write the Program?)
hi everyone,
I have one program, and that has to write with the OOP and also related with Maths's ideas.
Would anyone help me to solve this? Here is the Program, and I gave the structure format below.
Class VLDI(very large decimal integer)models positive infinite precision integer.
VLDI i1 = new VLDI();//construct the no 0
VLDI i2 = new VLDI("12345678901234567890");
//convert the string into a VLDI
VLDI i3 = new VLDI("1234567890000")//convert the string into a VLDI
VLDI i4 = i2.add(i3);//return the sum of i2 and i3; i2 not changed
VLDI i4 = i2.shiftLeft(3); //return i2*10power3; not changed
VLDI i4 = i2.shiftright(4); //return i2/10power4; i2 not changed
String s = i2.toString()
//return a string representation of the digits in the VLDI
Thank Advance,

