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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!