Question: For this assignment you will write a program to subtract large unsigned integers. Your program should prompt and read in two large unsigned integers. The

For this assignment you will write a program to subtract large unsigned integers. Your program should prompt and read in two large unsigned integers. The two large integers should be stored arrays, one array for each integer. The integers should be stored with one digit per location in the two arrays. The first integer should be no smaller than the second. Your program should subtract the second integer from the first. The result should be stored in an array, again one digit per location in the array. Your program should then output the difference. Your program should be able to handle integers with up to 80 digits each. You should not use any concepts from object oriented programming. In particular please do not use any classes (or struct) or any class methods. cin.get() can be used. Using C++. Test data: 10000000000000000000000000000000000 - 9 1111111111111111111111111111111111 - 10000010001 123456789123456789123456789 - 99999 9999999999 -9999999999

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!