Write a C program to convert feet to inches. Here’s simple program to convert feet to inches in C Programming Language.
In this program, we take input from the user to enter an integer value of feet which he/she wants to convert it into inches. As we know that “1 feet = 12 inches”, so we use the basic formula for the conversion of feet into inches i.e (inches = feet * 12) to get result in inches.
Below is the source code for C program to convert feet to inches which is successfully compiled and run on Windows System to produce desired output as shown below :
SOURCE CODE : :
OUTPUT : :
Above is the source code for C program for conversion of feet to inches which is successfully compiled and run on Windows System.The Output of the program is shown above .
need an explanation for this answer? contact us directly to get an explanation for this answer