Write a program that declares constants to represent the number of inches, feet, and yards in a mile. Name the constantsINCHES_IN_MILE,FEET_IN_MILE, andYARDS_IN_MILErespectively. Also declare a variable namedmilesto represent a number of miles. Compute and display, with explanatory text, the value in inches, feet, and yards—for example:4.0 miles is 253440.0 inches, or 21120.0 feet, or 7040.0 yards
INCHES_IN_MILE
FEET_IN_MILE
YARDS_IN_MILE
miles
When submitting the program for testing/grading, assign the value 4 tomiles.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here