**(Fraction calculator) **| Write a program that lets the user perform arithmetic operations on fractions. Fractions are of the form *a/b*, in which _a_ and _b_ are integers and *b ≠ 0*. Your program must be menu driven, allowing the user to select the operation *(+, -, *, or /)* and input the numerator and denominator of each fraction. Furthermore, your program must consist of at least the following functions:

- Function menu: This function informs the user about the program's purpose, explains how to enter data, and allows the user to select the operation.
- Function addFractions: This function takes as input four integers representing the numerators and denominators of two fractions, adds the fractions, and returns the numerator and denominator of the result. (Notice that this function has a total of six parameters.)
- Function subtractFractions: This function takes as input four integers representing the numerators and denominators of two fractions, subtracts the fractions, and returns the numerator and denominator of the result. (Notice that this function has a total of six parameters.)
- Function multiplyFractions: This function takes as input four integers representing the numerators and denominators of two fractions, multiplies the fractions, and returns the numerators and denominators of the result. (Notice that this function has a total of six parameters.)
- Function divideFractions: This function takes as input four integers representing the numerators and denominators of two fractions, divides the fractions, and returns the numerator and denominator of the result. (Notice that this function has a total of six parameters.) Some sample outputs are:
**3 / 4 + 2 / 5 = 23 / 20****2 / 3 * 3 / 5 = 6 / 15**

Your answer need not be in the lowest terms.

### Recently Asked Questions

- a water wave is vibrating up and down 40 times in 3 minutes.A person observing the wave measures that the distance from the top of the one crest to the top of

- What types of management decisions can be made by looking at vertical and horizontal analysis information?

- A random sample of 900 SAT scores has a sample mean of 1100. Assume that SAT scores have a population standard deviation of 300. (a) Construct a 95% confidence