Question: * 1 3 . 1 5 ( Use BigInteger for the Rat ional class ) Redesign and implement the Rationa 1 class in Listing 1
Use BigInteger for the Rat ional class Redesign and implement the Rationa class in Listing using BigInteger for the numerator and denominator. Write a test program that prompts the user to enter two rational numbers and display the results as shown in the following sample run:
tableEnter the first rational number: EnterEnter the second rational number: Enter
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
