Question: C++ can you answer this C++ question please. Thank you Complete the Rat class Starting with the Rat class (see Handouts) do the following: 1.
C++
can you answer this C++ question please. Thank you

Complete the Rat class Starting with the Rat class (see Handouts) do the following: 1. Add the following operators to the class: operator-0 operator*() operator/O 2. Make sure Rats are reduced to lowest terms. So if a Rat is 2/4 it should be reduced to 1/z. 3. If a Rat represents an \"improper fraction\" (i.e. numerator >denominator) print the Rat as a \"mixed number.\" So 6/4 will be printed as 1 1/z
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
