Prog27: Variables Only Hold Values
///Name: Ilana Levy
///Period: 5
///Project Name: Variables Only Hold Values
///File Name: sequencing.java
///Date finished: 9/8/2015
import java.util.Scanner;
public class sequencing
{
public static void main( String[] args )
{
//Broken
Scanner keyboard = new Scanner( System.in );
double price, salesTax, total;
System.out.print( "How much is the purchase price? " );
price = keyboard.nextDouble();
salesTax = price * 0.0825;
total = price + salesTax;
System.out.println( " Item price:\t" + price );
System.out.println( "Sales tax:\t" + salesTax);
System.out.println( "Total cost:\t" + total );
}
}