Program to Convert cm to Feet and InchesHere, we will learn how to convert the length, which is given in centimeter, to the length in feet and inches. Following are the two formulas which help to convert cm to feet and inches:
From these formulae, we find the following two formulas:
Program 1: Write a Program in C for converting the cm to feet and inches. Output: Inches is: 15.75 Feet is: 1.31 Program 2: Write a Program in PHP for converting the cm to feet and inches. Output: Inches is: 3.94 Feet is: 0.33 Program 3: Write a Program in Java for converting cm to feet and inches. Output: Inches is: 7.87 Feet is: 0.656 Program 4: Write a Program in Python for converting cm to feet and inches. Output: Enter the height in centimeters: 167 The length in feet 5.48 The length in inches 65.8 Next TopicProgram to Convert Feet to cm |
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