Question: can anyone solve this question in C language using struct and pointers. Fractions: multiplication and division Two fractions are given. Find their product or quotient.

can anyone solve this question in C language using struct and pointers. can anyone solve this question in C language using struct and pointers.

Fractions: multiplication and division Two fractions are given. Find their product or quotient. Input Each line contains an example of multiplication or division of fractions. The numerator and denominator of each fraction is a positive integer, not greater than 10 Output For each input example, print in a separate line the answer in the form of an irreducible fraction. Time limit 1 second Memory limit 128 MiB Input example #1 2/3 * 5/6 1/2 / 4/5 7/8 * 11/41 7/1 / 3/7 Output example #1 5/9 5/8 77/328 49/3

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!