Javatpoint Logo
Javatpoint Logo

Program to Convert centimeter to millimeter

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

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

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

Output:

Value in millimeter is: 408.00

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

Output:

Value of 105 cm in millimeter is 1050

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

Output:

Value in millimeter is: 15.00

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

Output:

Enter the length in cm: 250
The length in millimeter 2500





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