Javatpoint Logo
Javatpoint Logo

Program to Convert Inches to Feet

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

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

Feet = inches / 12

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

Output:

Value of 40 inches in Feet is: 3.33

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

Output:

Value of 10 inches in Feet is: 0.83

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

Output:

Value in Feet is: 10.00

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

Output:

Enter the value of length in Inches: 240
The length in Feet 20.0






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA