Problem Description: In this assignment, you have to develop a mechanism to carry out arithmetic for very large numbers, say around 40 digits long using stack operations on an [url removed, login to view] numbers can be positive or negative numbers. Your program should operate in the following way: When your program starts it should ask the user to press 1 for addition, 2 for subtraction, or 3 for multiplication… Then your program should ask the user to enter the two numbers, one per line. The numbers will be entered with commas, so your program must parse the numbers. Then your program should print the result and exit. Note that your program should be able to handle positive and negative numbers. Here is a sample of how your program may look like when Running. You are welcome to improve this. “Welcome to my math program. Press 1 to add, 2 to subtract, 3 to times?? 1 Enter the two numbers one per line 987,654,321 123,000,000,001 The result of A + B or A - B is [………..you fill this in!], Do you need to do any other arithmetic operation? If Yes Press…, otherwise press…….. In the end put a good bye, when user has finished using the System.
The main points are using Arrays and stacks
coded in C
1) Complete and fully-functional working program in executable form as well as complete source code of all work done in C.
2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).