Question: In C language. beginner-level fraction number problem using Structure Fractional Numbers with Structure (20 points) Create a structure called Fraction to store fractions having of
In C language. beginner-level fraction number problem using Structure


Fractional Numbers with Structure (20 points) Create a structure called Fraction to store fractions having of them are integers). Given a command and a pair of fractions, execute the command using the following functions that you have to implement (a) Fraction addition(Fraction a, Fraction b) (b) Fraction subtraction(Fraction a, Fraction b) (c) Fraction multiplication(Fraction a, Fraction b) (d) Fraction division(Fraction a, Fraction b) Your code should contain a main0 function where you wil take inputs from a file named input.txt" and write outputs to a file named "output.txt". All your inputs will be valid fractions, so no need to check for divide by zero error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
