Question: Write a program in C + + that works in operations with fractions. The program should ask the integer values ( a , b ,

Write a program in C++ that works in operations with fractions. The program should
ask the integer values (a, b, c, and d) of 2 fractions
a/b
and
c/d
and shows on screen the results
of the operations of addition, subtraction, multiplication, and division between both
fractions.
Because of limitations of the screen the operation 3/4+1/4 will show 4/4(not 1). The result
will always be a fraction.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!