- 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?

29th Sep 2022, 4:21 AM
Fritz
Fritz - avatar
2 Respostas
+ 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
21st Oct 2022, 12:05 PM
Sickfic
Sickfic - avatar
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.
26th Sep 2023, 3:27 AM
nasser mohamad
nasser mohamad - avatar