Question: General math) a. In Chapter 11's programming projects, you were asked to construct a Fraction class that could be used to add, subtract, multiply, and

General math) a. In Chapter 11's programming projects, you were asked to construct a Fraction class that could be used to add, subtract, multiply, and divide two fractions. For this exercise, write an overloaded friend ostream insertion operator function that allows a Fraction object to be output and appear in the form num/denom, using a cout statement. b. Write an overloaded friend istream extraction operator function that allows fractions in the formm a/b . to be input and assigned to a Fraction object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
