Question: Using C++ Write a program using operator overloading that will add or subtract two fractions input by the user. The input operator must be overloaded
Using C++ Write a program using operator overloading that will add or subtract two fractions input by the user. The input operator must be overloaded so that it is in the form: a/b + c/d or a/b - c/d. The program needs to overload the + and operators and print the final result overloading the output operator. Do not simplify the final answer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
