Question: Note : Write a program use c++ language. The player of a high school basketball team is X inches tall. Adam is the trainer of
Note : Write a program use c++ language.
The player of a high school basketball team is X inches tall. Adam is the trainer of this team he wants to compute the height in feet/inches form. Can you help Adam?
Hint: 1 foot = 12 inches.
Constraints X > 1
Input Format One integer X, the player high.
Output Format Print the height in feet/inches form as follow:
The player is A/B feet tall.
Where A and B are the player height after convert it to feet(A)/inches(B) form.
Sample #1 Input 5 Output The player is 0/5 feet tall.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
