Question: C program. Create a program called fractions.c that does the following: Write a program that will read in 2 fractions such as 3/7, then print
C program.
Create a program called fractions.c that does the following: Write a program that will read in 2 fractions such as 3/7, then print each fraction, and their sum and product, both as fractions and as floats. To refresh your memory, a/b + c/d = (ad +bc) / bd, and a/b * c/d = ac/bd. You dont have to reduce fractions to their simplest forms.
can you show me the output? and please make sure it's C program thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
