Program to Convert Meter to Centimeter

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

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

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

Output of Above C program:

Value in Centimeter is: 4080.00

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

Output of Above PHP program:

Value of 10 meter in Centimeter is 1000

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

Output of Above Java program:

Value in Centimeter is: 2000.00

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

Output of Above Python program:

Enter the length in meter: 25
The length in centimetre is 2500





Latest Courses