Question: CMPSC122 Lab Proj 5 - Overloading Operators, Stream, and String Classes Project 5. Building a class for Fraction ADT Phase 2 ( 20 points. submit
CMPSC122 Lab Proj 5 - Overloading Operators, Stream, and String Classes Project 5. Building a class for Fraction ADT Phase 2 ( 20 points. submit your two source files named Frac2.cpp and Frac 2.h online only before the due time next week) This assignment is the continuation of project 4 , with the modification and improvement of the following modifications: - In Frac.h, replace the methods of addition (const Fraction \&), subtraction(const Fraction\&), multiply( const Fraction \&), divide(const Fraction \&), void printFraction() by overloading operators +,,,1, respectively. - Add overloading operators > and 1/3 according to the overloaded > operator >=1/3 according to the overloaded and 1/3 according to the overloaded > operator >=1/3 according to the overloaded
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
