Program to Convert centimeter to meterHere, we will learn how to convert the length value, which is given in centimeter to the length in meter. If we want to convert the value of cm into meter value, then we have to use the following formula: From the above formula, we have created the following formula for calculating the value in meter. Program 1: Write a Program in C for converting the value of cm into meter. Output of above C program: Value in meter is: 0.4 Program 2: Write a Program in PHP for converting the value of cm into meter. Output of above PHP program: Value of 100 cm in meter is 1 Program 3: Write a Program in Java for converting the value of cm into meter. Output of Java program: Value in meter is: 0.40 Program 4: Write a Program in Python for converting the value of cm into meter. Output of python program: Enter the length in cm: 25 The length in meter 0.25 Next TopicProgram to Convert Feet to millimeter |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India