First page Back Continue Last page Overview Graphics

Exercise

Write a class for Fractional Arithmetic, implementing addition, subtraction, multiplication and division. The results of the airthmetic operations should be a fraction which can't be reduced.