Question: 1 . Add three new functions to the program: to subtract, multiply, and divide two Fractions. ( basing them on the add function that is
Add three new functions to the program: to subtract, multiply, and divide two Fractions. basing them on the add function that is already defined. Add a function that takes a Fraction struct as a parameter and returns a double that is the decimal representation of the data contained in the fraction for example, would convert to Show the results of using all of your functions.Add code to loop and displays the results of using all of your functions subtract multiply, divide, decimal Use the code that outputs the results of adding two Fractions as your model.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
