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
This note was uploaded on 10/05/2010 for the course COMP 101 taught by Professor Staff during the Spring '08 term at UNC.
- Spring '08