Create a class LargInteger that uses a 30-element array of digits to store integers as

Create a class LargInteger that uses a 30-element array of digits to store integers as large as 30 digits each. Provide member functions input, output, add and subtract. For comparing LargInteger objects, provide functions isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo—each of these is a “predicate” function that simply returns true if the relationship holds between the two LargInteger s and returns false if the relationship does not hold. Also, provide a predicate function isZero, provide member functions multiply, divide and modulus.

 

Looking for a Similar Assignment? Let us take care of your classwork while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today! Use Code FREE15