Consider the structure for an unlimited-digit number as given in the attached WordPad doc. Turn this into an ADT with the following operations. In the following descriptions number refers to a linked list of digits as defined in the attached WordPad doc, and M, N and O are all numbers. The sample usage for each operation shows how it might be used, although you can make your operations work differently. Increment: A method that increases the value of a number by 1. Sample usage: [url removed, login to view](); Copy: A method that copies one number to another. Note that you cannot just copy one pointer to another ??" you must create copies of each node in the original. Sample usage: [url removed, login to view](M); Sum: A method that takes two numbers and sums them. Sample usage: [url removed, login to view](M); (adds M to N). Another possibility: N = Sum(M,O); DisplayNumber: A method that displays its argument (a number) in standard (most-significant digit first) form. Sample usage: N. DisplayNumber(); Your ADT should be a C++ class, with all functions and data declared in the appropriate sections. You may use recursion or not as you wish. Include a short program that adequately test all the procedures in your ADT. Want to know the solution to this problem.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
BORLAND C++ VERSION [url removed, login to view]