Question

8. Given 2 numbers which are the measurement of a distance in feet and inches, for example 3 feet 7 inches. Change the measurement to meters and centimetres, and display

message “? feet ? inches = ? meters and ? centimetres". The ? should be replaced by real numbers. (1 inch = 2.54 centimeter, 1 foot= 12 inches)

Fig: 1