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

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!