Description: Develop a Fraction class that is capable of doing arithmetic with fractions.
* Fractions are held in lowest terms, with the gcd() method.
* Use a toString() method to format the result.-Develop a Fraction class that is capable of doing arithmetic with fractions.
* Fractions are held in lowest terms, with the gcd() method.
* Use a toString() method to format the result. Platform: |
Size: 1024 |
Author:LeiShi |
Hits: