Question: Write a java program that calculates the cost of individual item including tax and prints the grocery bill. Your program must do the following: 1.

Write a java program that calculates the cost of individual item including tax and prints the grocery bill. Your program must do the following:

1. Ask the user to enter his/her full name.

2. Print a welcome message using the users name.

3. Ask the user to enter the name of item.

4. Ask the user to enter the price and quantity of the item.

5. Declare a constant variable that holds a tax rate equal to 15%.

6. Calculate the total price of the item including the tax.

7. Print the grocery bill.

Write a java program that calculates the cost of individual item including

Typical run of the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!