Question: Java problem 3 classes : Util.java, Fraction.java and Test.java Util.java should be a scanner (should contain findGCD) All fractions should work in Fraction java and

Java problem

3 classes : Util.java, Fraction.java and Test.java

Util.java should be a scanner (should contain findGCD)

All fractions should work in Fraction java and Test.java

"4" - "1 1/2" - "20/5" - "1 1/2 " - "l/2" - replaceAll() by 1 String replace "1O/l5" - // replace by 0 //////////////////////////// Output (display) - simple forms "2/4" => 1/2 "5 2/6" => 5 1/3 two component numerator and denominator inside " 4/3 " => 1 1/3 (output suppose to be)

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!