Question: (Use BigInteger for the Rational class) Redesign and implement the Rational class Listing 13.13 using BigInteger for the numerator and denominator. Sample run: Enter the
(Use BigInteger for the Rational class) Redesign and implement the Rational class Listing 13.13 using BigInteger for the numerator and denominator. Sample run: Enter the first rational number: 3 454 Enter the second second number: 7 2389 3/454 + 7/2389 = 10345/1084606 3/454/ - 7/2389 = 3989/1084606 3/454 * 7/2389 = 21/1084606 3/454 / 7/2389 = 7167/3178 7/2389 is 0.0029300962745918793 Class Name: Exercise13_15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
