c++ data structure 6
CSC 240
Exercise 1
Add the following overloaded operators to the class FractionType:
1) operator+
2) operator-
3) operator/
4) operator*
Write a driver program to test the FractionType class provided in the Chapter 1 Source Code
by utilizing the above operators. The entire textbook “SourceCode” is available under Content
in Extra Files.
Here is some information regarding operator overloading:
https://www.tutorialspoint.com/cplusplus/binary_operators_overloading.htm
https://www.geeksforgeeks.org/operator-overloading-c/