CBSE BOARD XII, asked by devireddyakashreddy, 6 months ago

There are 12 inches in a foot and 3 feet in a yard. Create a class named InchConversion. Its main() method accepts a value in inches from a user at the keyboard, and in turn passes the entered value to two methods. One converts the value from inches to feet, and the other converts the same value from inches to yards. Each method displays the results with appropriate explanation. Save the application as InchConversion.java.

Answers

Answered by syedmohmedfaizrozdar
0

Answer:

let yard be y and let x be inches

now y=3x/12 i.e y=x/4 will help you in converting it

Similar questions