Question: Can someone write me a java code where Fraction(int top, int bot) and the user inputs both numbers so the program makes int top a

Can someone write me a java code where Fraction(int top, int bot) and the user inputs both numbers so the program makes int top a numerator and the bot a denomator, then using a new constructor, finds the greatest common denominator or GCD

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!