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
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
English,
3 months ago
India Languages,
3 months ago
Social Sciences,
6 months ago
Math,
6 months ago
English,
11 months ago