Part A Implement the MileConversions class so that it declares the following named constants: INCHES_IN_MILE, FEET_IN_MILE, and YARDS_IN_MILE. Each constant to represent the number of inches, feet, and yards in a mile. Create the MileConversions class. Implement the three constants for the MileConversions class Next declare a variable named miles to represent a number of miles and assign a value to it. Declare and initialize the miles variable. Compute and display, with explanatory text, the value in inches, feet, and yards. The MileConversions program computes and displays the miles value in inches, feet, and yards. Thank you!
Part B Convert the MileConversions program to an interactive application by copying the code into the MileConversionsInteractive.java file.
Part A Implement the Whicowerwara class so that it declares the following named constants: INCHES_IN_MILE, FEET_IN_MLLE, and YARDS_IN_MUL.E. Each constant to reprecent the number of inches, feet, and yards in a mile. Create the MileCowersiens class. Implement the three constants for the MileCowwessious class Next declare a variable named miles to represent anumber of miles and assign a value to it. Declare and initialize the miles variable. Compute and display, with explanatory text, the value in inches, feet, and yards. The MileConowessiens program computes and displays the miles value in inches, feet, and yards. Part B Convert the Whifowwewioss. program to an interactive application by copying the code into the MileConversionsinteractive.java file. Instead of assigning a value to the milles variable, accept it from the user as input. An example of the program is shown below: Enter miles ?4.5?? 4.5 miles is 285120.0 inches, ?? Create the MileCowuessionslateractive class. The MileCouvessioduteractive program accepts the value of miles from the console.