Professional Documents
Culture Documents
Scanner;
/*
* To change this license header, choose License Headers in Project
Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author pc
*/
public class OnlinePOS {
public static void main(String[] args) {
String customer_name;
Double p_item, quantity, shipping, t_cost, sub_total, tax,
t_amount;
System.out.println("Customer Name:");
customer_name = in.nextLine();
System.out.println("Price of Item:");
p_item = in.nextDouble();
System.out.println("Quantity:");
quantity = in.nextDouble();
System.out.println("Shipping Fee:");
shipping = in.nextDouble();
}
}