I would like to write a C++ program where a user is asked to enter the height in centimeters and then it displays the height in centimeters, feet and inches. Now here the condition is that the program should allow centimeters and inches in decimals. Another big question: how to do so? How can create a C++ conversion program from centimeters to feet and inches?
Bookmarks