Question: I need 'C' code solution Write a complete C program that has distance structure. Structure has feet and inch parameter. Then calculate the summation of
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 ho You have to use structs for this exercise: otherwise you get 0 points! Note that 1 foot is equal to 12 inches: ift = 12 or 1 12" For example: Input Result 2557 Sum of distances ws'.e.e" 3 11 9 7 Sun of distances - 13 -6.0" Answer (penalty regime i e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
