@@ -0,0 +1,1405 @@
+/** A program that calculates how much money you need to pay for gas on your road trip.  The program asks the user to input how many %0A    miles the trip is, the current price of a gallon of gas, and the fuel economy of the car being driven.%0A */%0A%0Apackage gasusage;%0A%0A/**%0A *%0A * @author k8port%0A */%0A%0Aimport java.util.Scanner;%0A%0Apublic class GasUsage %7B%0A%0A    /**%0A     * @param args the command line arguments%0A     */%0A    public static void main(String%5B%5D args) %7B%0A        //instance variables%0A        Scanner scan = new Scanner(System.in);%0A        double miles_to_go, gallon_price, mpg, trip_price;%0A        %0A        // gather info%0A        System.out.println(%22How many miles is your trip?%22);%0A        miles_to_go = scan.nextDouble();%0A        System.out.println(%22What is the current price of a gallon of gas?%22);%0A        gallon_price = scan.nextDouble();%0A        System.out.println(%22What is the average fuel economy of your car?%22);%0A        mpg = scan.nextDouble();%0A        %0A        // perform calc%0A        trip_price = (miles_to_go / mpg) * gallon_price;%0A        %0A        // output result%0A        System.out.printf(%22The total cost of travelling %25.1f miles with a fuel%22%0A                           + %22 economy of %25.1f%25ngallons per mile at the current %22%0A                            + %22price of $%25.2f a gallon is: $%25.2f%25n%22, miles_to_go,%0A                                mpg, gallon_price, trip_price);%0A        %0A    %7D%0A    %0A%7D%0A

Create GasUsage.java