Question: please answer this question in C++ please answer this question in C++ 3. Specify and implement an ADT for fractions. Provide operations that add, subtract,
please answer this question in C++

please answer this question in C++
3. Specify and implement an ADT for fractions. Provide operations that add, subtract, multiply, and divide these numbers. The results of al arithmetic operations should be in lowest terms, so include a private function reduceToLowestTerms. To simplify the determination of a fraction's sign, you can assume that the denominator of the fraction is positive. Next, Specify and implement an ADT for mixed numbers, each of which contains an integer portion and a fractional portion in lowest terms. You can utilize the ADT fraction you created in the first part of this problem. Provide operations that add, subtract, multiply, and divide mixed numbers. The results of all arithmetic operations should have fractional portions that are in the lowest terms. Also, include an operation that converts a fraction to a mixed number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
