233k views
4 votes
Write an algorithm to convert lengh of your house from cm to meter​

1 Answer

6 votes

Answer:

cm = 1000;

meter = cm / 100.0;

kilometer = cm / 100000.0;

print("Length in meter = " ,

meter , "m");

print("Length in Kilometer = ",

kilometer , "km");

Step-by-step explanation:

This is in Python, hope you enjoy!

User Ravbaker
by
4.3k points