joe-amoah / python-learning

for learning python
MIT License
1 stars 0 forks source link

Exercise 14: Height Units #17

Open Prince-linux opened 4 years ago

Prince-linux commented 4 years ago

Many people think about their height in feet and inches, even in some countries that primarily use the metric system. Write a program that reads a number of feet from the user, followed by a number of inches. Once these values are read, your program should compute and display the equivalent number of centimeters. Hint: One foot is 12 inches. One inch is 2.54 centimeters.