The program reads the height in centimeters and then converts the height to feet and inches.


 The program reads the height in centimeters and then converts the height to feet and inches.

cm=int(input("Enter the height in centimeters:"))
inches=0.394*cm
feet=0.0328*cm
print("The length in inches",round(inches,2))
print("The length in feet",round(feet,2))

Post a Comment

Post a Comment (0)

Previous Post Next Post