/***************************************************************** * Lab 1: TotalCost * Programmer: Insert your name here * * Class: COMP 110-001 Instructor: Yi Hong * * Pledge: I have neither given nor received unauthorized aid * on this program. * * Description: Insert the program description here * * Input: what is the input? * * Output: what is the output? * ******************************************************************/ import java.util.Scanner; public class TotalCost { public static void main(String[] args) { double cost; System.out.println("What is the cost of the coat you want to buy?"); Scanner keyboard = new Scanner(System.in); cost = keyboard.nextDouble(); System.out.println("What is the tax rate?"); System.out.println("The total cost of your coat is"); } }