Assignemnt #27 and Sequencing

Code

  
/// Name: David Shkolnikov
/// Period: 6
/// Program Name: Sequencing
/// File Name: Sequencing.java
/// Date Finished: 10/7/2015

import java.util.Scanner;
public class Sequencing
{
    public static void main( String[] args )
    {
        
        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 );
        
        //the program does not error and I am not suprised
    }
}
    
    

Picture of the output

Assignment 27 Assignment 27