java program that will calculate and display total sale price generated by a

B

**babygrl**

Guest
purchase of a notebook...? any ideas ....please..txs...this is what i got n' am stuck..
//This program demonstrates the double data type

public class Sales
{
public static void main(String [] args)
{
double price,tax, total;

price=10.00;
tax=1.10;
total=11.10;
System.out.println("The price of the item" + "is" + price);

System.out.println("The tax is" + tax);
System.out.println("The total is" + total);
}
}
 
Back
Top