/****************************************************** 
 *  This program demonstrates the double data type.
 * 
 * @author Tony Gaddis updated by Nancy Harris
 * @version 09/06/09
 *****************************************************/
  public class Sale
{
    /**************************************************
    * main method - entry point to the program
    * 
    * @param args Command line arguments - unused
    *************************************************/
   public static void main(String[] args)
   {
      // declare variables (in order by type and then alphabetically
      double price;  // the price of the item
      double tax;    // the tax amount
      double total;  // the total price

      // initialize the variables
      price = 29.75;
      tax = 1.76;
      total = 31.51;
      
      // display the results
      System.out.println("The price of the item " +
       "is " + price);
      System.out.println("The tax is " + tax);
      System.out.println("The total is " + total);
   }
}
