Question: I am writing a Java code that is converting height from feet and inches to cm. My program is complete, but if a height is

I am writing a Java code that is converting height from feet and inches to cm.

My program is complete, but if a height is entered incorrectly I need the program to adjust it. Such as if I enter 5 feet, 14 inches, I need the output to convert that to 6 feet 2 inches. I am stuck on how to do this.

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!