- 2
Given as input a floating (real) number of centimeters, print out the equivalent number of feet (integer) and inches (floating
what is the code for this problem?
2 Antworten
+ 1
Hi Fritz, I have wrote a simple program without error checking that solves the problem you are facing given from the title of this question. The code can be found here: https://www.sololearn.com/compiler-playground/cjdhImQQr7M3
0
Given as input a floating (real) number of centimeters, print out the equivalent number of feet (integer) and inches (floating 1 decimal), with the inches given to an accuracy of two
decimal places.