Question: Please help write program in PYTHON Lab #2: Convert meters/centimeters to feet/inches Write a program to convert meters and additional centimeters (not two separate distances!)
Please help write program in PYTHON

Lab #2: Convert meters/centimeters to feet/inches Write a program to convert meters and additional centimeters (not two separate distances!) *into feet and inches (again, one distance). The user will enter two whole numbers for the meters and centimeters. . The program will then output the equivalent number of feet and inches. Use these conversion factors: one meter equals 100 centimeters, . one centimeter equals 0.393700787 inches and there are 12 inches in a foot. Sample run: Enter the number of meters: 342 Enter the number of centimeters: 45 That's equivalent to 1123 feet and 6.28 inches. Pseudo codes First, determine the total number of centimeters. Then convert that to total inches. Divide (integer division) total inches by 12 to determine the total number of feet. o Feet will be an integer. Use modulus on total inches (get remainder) by 12 to determine the remaining number of inches. . To display inches, round it to two decimal places. Test Run your program with several different values including o a test with 3 meters and 35 centimeters, o a test with 342 meters and 45 centimeters, o three more of your choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
