@@ -0,0 +1,586 @@
+/*%0A%09Project 1-2%0A%09%0A%09This program displays a conversion table of gallons to liters.%0A%09%0A%09Call this program %22GalToLitTable.java%22.%0A*/%0Aclass GalToLitTable %7B%0A%09public static void main(String args%5B%5D) %7B%0A%09%09double gallons, liters;%0A%09%09int counter;%0A%09%09%0A%09%09counter = 0;%0A%09%09for(gallons = 1; gallons %3C= 100; gallons++) %7B%0A%09%09%09liters = gallons * 3.7854; // convert to liters%0A%09%09%09System.out.println(gallons + %22 gallons is %22 + liters + %22 liters.%22);%0A%09%09%09%0A%09%09%09counter++%0A%09%09%09// every 10th line, print a blank line%0A%09%09%09if(counter == 10) %7B%0A%09%09%09%09System.out.println();%0A%09%09%09%09counter = 0; // reset the line counter%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create GalToLitTable.java