Program to Convert Feet to cm

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

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

cm = 30.48 * feet.

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

Output:

Value in Centimeter is: 1219.2

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

Output:

Value in Centimeter is: 304.8

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

Output:

Value in Centimeter is: 609.6 

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

Output:

Enter the length in feet: 55
The length in centimeter 1676.4





Latest Courses