Question: numerical a fractionhandling program contains this menu a add two...
Numerical) A fraction-handling program contains this menu:
A. Add two fractions
B. Convert a fraction to decimal
C. Multiply two fractions
a. Write C++ code for the program with stub functions for the choices. The main() function of
your program should display this menu, invoke one of the program’s other functions based on
the user’s choice, then display the value returned by the function.
b. Insert this fractionToDecimal() function into the code, after your main() function:
double fractionToDecimal(double numerator, double denominator)
c. Complete the program by replacing the bodies of your remaining stub functions with code that
performs the appropriate operations and returns a result back to the main() function.