Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What: a series of files containing your solution In this lab, you will learn the basics of user defined data types, object-oriented programming, pointers, reference
What: a series of files containing your solution In this lab, you will learn the basics of user defined data types, object-oriented programming, pointers, reference and exception handling. Problem: Write a program that prompts the user for the name of two files each containing a single line that represents a decimal integer call them m and n, keep in mind that these integers could be very large in absolute value, so they might not be stored neither as a long nor int variables. You should: a) Handle erroneous input graciously. b) Include a class named Biglnteger where you define an integer as a linked list, along with integer operations such as addition and subtraction [multiplication and division will grant you extra points] c) Test your program for each operation and store the result of each operation as a single decimal number in a separate file containing only one line. 1/ Describe how you want to solve this problem: write this description as a comment at the top of your java file. The description should be free of typos and grammatically correct. 2/ Put together a Java code that addresses the above problem. Each instruction of your code should be commented to explain what it does and why the whole piece of code is an actual solution to the above
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started