1. Engineering
  2. Computer Science
  3. write a class fraction that defines adding subtracting multiplying and...

Question: write a class fraction that defines adding subtracting multiplying and...

Question details

Write a class Fraction that defines adding, subtracting, multiplying, and dividing fractions by overloading standard operators for these operations. Write a function member for reducing factors and overload 1/O operators to input and output fractions.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution