Question: (C++) Write a program to compute and display the height in feet and inches form. The user will enter the height in inches, and the
(C++)
Write a program to compute and display the height in feet and inches form. The user will enter the height in inches, and the output will display height converted into feet and inches. FOR EXAMPLE: A person that is 77 inches should display as 6ft 5in
hint: Use integer division (/) for the feet, and calculate the remainder using the modules operator (%) to get the remaining inches.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
