Create a class which uses 25 elements


Create a class HugeInteger which uses a 25-element array of didgits to store integers as large as 25 digits. Provide services inputHugeInteger, otputHugeInteger, addHugeInteger, isEqualTo, and isODD. inputHugeinteger is to read the huge integer from te user. Hint: the scanner class can be used to read the huge integer as as a string. outputHugeInteger is to print huge integer to display. addHugeIntegers is to add two huge integers and returns the result as athird huge integer. isEqualto is to compare two huge numbers. If they are equal a true will be returned, otherwise, a false will be returned. Finally, isOdd returns true if the huge number is odd, and false is even.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Create a class which uses 25 elements
Reference No:- TGS0118187

Expected delivery within 24 Hours