Question: please use java, thank you. Assignment2-2 Write a program named YardsFeetlnches that asks the user to enter a distance measured in inches The program must

please use java, thank you. Assignment2-2
please use java, thank you. Assignment2-2 Write a program named YardsFeetlnches that

Write a program named YardsFeetlnches that asks the user to enter a distance measured in inches The program must then determine and output the equivalent number of yards, feet, and inches. Note: 3 feet =1 yard 12 inches =1 fool Use plurals "yards", "feet", and "inches" for all outputs (even where it is grammatically incorrect The prompt to the user to enter the number of inches must be: Enter number of inches: The output must be in the format: numYards yards, numFeet feet, and numInches inches. For a sample run where the user enters 367 the console screen must look as follows: Enter number of inches: 367 10 yards, 0 feet, and 7 inches. Please make sure to end each line of output with a newline. Please note that your java class should be named YardsFeetinches

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!