. Advertisement .
..3..
. Advertisement .
..4..
How can I convert foot to cm? I will be grateful for your solutions.
Here is a suggestion for you// 1 foot = 30.48 cm
int feet = 40;
double cm;
cm = 30.48 * feet;
printf ("Cm is: %.2f ", cm);
Refer to my example for your reference
Consequently, if you want to test whether it works or not, use the suggested ways here.