Description: Define a fraction of class, with two integer data members of the numerator and denominator of the fraction, member functions, including seeking the greatest common divisor of two integers gcd () and least common multiple lcm () function, and then define a constructor, access points, Printing scores, fractional arithmetic member functions. The results are still using fractions and call gcd (), lcm () member function simplification
To Search:
File list (Check if you may need any files):
lab2\lab2_1.cpp
....\lab2_2.cpp
....\lab2_3.cpp
....\lab2_4.cpp
lab2