Home » Program to Convert Feet to Inches

Program to Convert Feet to Inches

by Online Tutorials Library

Program to Convert Feet to Inches

Here, we will learn how to convert the length value, which is given in feet to the length in Inch.

If we want to convert the value of feet into the Inches value, then we have to use the following formula:

Inches = 12 * feet.

Program 1: Write a Program in C for converting the value of feet into Inches.

Output:

Value in Inch is: 480.00  

Program 2: Write a Program in PHP for converting the value of feet into Inches.

Output:

Value in Inch is: 120  

Program 3: Write a Program in Java for converting the value of feet into Inches.

Output:

Value in Inch is: 96.00  

Program 4: Write a Program in Python for converting the value of feet into Inches.

Output:

Enter the length in feet: 100  The length in Inches is 1200  

You may also like