/****************************************************************** * Lab 1: TotalCost * * Programmer: Insert your name * * Due Date: Friday, September 5, 2008 * * COMP110-003, Fall 2008 Instructor: Luv Kohli * * Pledge: I have neither given nor received unauthorized aid * on this program. (Signature on file) * * Description: Insert a brief paragraph describing the program * * Input: Insert a brief description of user inputs, or "None" if * there is no user input * * Output: Insert a brief description of the program output * ******************************************************************/ import java.util.*; public class TotalCost { public static void main(String[] args) { double coat; System.out.println("What is the cost of the coat you want to buy?"); Scanner keyboard = new Scanner(System.in); coat = keyboard.nextDouble(); System.out.println("What is the tax rate?"); System.out.println("The total cost of your coat is"); } }