Javatpoint Logo
Javatpoint Logo

Program to Convert Inches to meter

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

If we want to convert the value of Inches into meter value, then we have to use the following one formula from the given 2 formulas:

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

Output:

The value of 40 Inches in meter is: 1.016

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

Output:

The value of 100 Inches in meter is: 2.54

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

Output:

Value of given Inches in meter is: 0.064

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

Output:

Enter the length in Inches:88
The length in meter is 2.235





Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA