The program then converts this size to the size measured in foot and inches and prints the converted numbers. Example: 1
Posted: Fri Jul 08, 2022 6:45 am
The program then converts this size to the size measured in foot and inches and prints the converted numbers. Example: 168cm is 5 foot, 5 inches. • Convert cm to inches • Calculate how many feet are in the inches amount. The output should be an integer number. (Hint: Use the int fun Calculate the remaining inches using the remainder function (%) The remaining inches should be rounded up (Hint: Use the round function). 1cm=0.3937 inches. 1 foot 12 inches. 1. Write an algorithm for this problem in pseudo-code in the editor below. . . .