Question: Write a C program to accept input in centimeters and convert it to feet and inches (i.e. output 3 feet 6 inches rather than 3.5
Write a C program to accept input in centimeters and convert it to feet and inches (i.e. output 3 feet 6 inches rather than 3.5 feet.). Use 1 inch = 2.54 cm as the conversion factor. For example, if input is 106 cm, output should be 3 feet 6 inches rather than 3.5 feet.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
