Huge integer class create a class huge integer that uses a


Question: (Huge Integer Class) Create a class Huge Integer that uses a 40-element array of digits to store integers as large as 40 digits each. Provide member functions input, output, add and subtract. For comparing Huge Integer objects, provide functions is Equal To, is Not Equal To, is Greater Than, is Less Than, is Greater Than Or Equal To and is Less Than Or Equal To-each of these is a "predicate" function that simply returns true if the relationship holds between the two Huge Integers and returns false if the relationship does not hold. Also, provide a predicate function is Zero. If you feel ambitious, provide member functions multiply, divide and modulus.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Huge integer class create a class huge integer that uses a
Reference No:- TGS02405660

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)