Question: Write a complete C program that has distance structure. Structure has feet and inch parameter. Then calculate the summation of two distances that should be

Write a complete C program that has distance structure. Structure has feet and inch parameter. Then calculate the summation of two distances that should be taken from user as follows first input is the first number's distance feet, second input first number's distance inch, third input second number's distance feet, fourth input second number's distance inch You have to use structs for this exercise; otherwise you get 0 points! Note that 1 foot is equal to 12 inches 1ft = 12" or 1' = 12" For example: Input Result 2 5 5 7 Sum of distances = 8'-0.0" 3 11 9 7 Sum of distances = 13'-6.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
