Unformatted text preview: //. ..finish declaring local variables here, including end of line //. ..comments doccumenting purpose of each variable //convert feet to miles feet = 6230; miles = feet / 5280; System.out.print(feet + " ft. = " + miles + " mi. \n"); //convert miles to feet //convert miles to kilometers //convert kilometers to miles //convert pounds to kilograms //convert kilograms to pounds //convert US gallons to liters //convert liters to gallons }//end of main method }//end of class...
View Full Document
- Spring '08
- Imperial units, 1 mile, 5280 ft, 1.7992 miles, 6230 ft