Question: Question1: Write a complete java program to develop a system for a grocery store. The system will read in the number of items purchased. And

 Question1: Write a complete java program to develop a system for

Question1: Write a complete java program to develop a system for a grocery store. The system will read in the number of items purchased. And then read the items' prices accordingly. * Use a loop to read the prices. Make sure that prices are not 0 or negative! The system will also read the delivery charge. Apply 5% VAT on the total bill (excluding delivery) It will calculate the total bill (prices + delivery charge+ VAT) and print the result. Enter the number of items 5 Enter item 1 price -3 Invalid Value 5 1 4 Here are three sample of the run: Enter the number of items Enter item 1 price Enter item 2 price Enter item 3 price Enter Delivery Charge 0.5 Bill without delivery. 10.0 Delivery Charge-0.5 VI 8.5 Total Bill. 11.0 1 Enter the number of items 2 Enter item 1 price Enter item 2 price Enter Delivery Charge 0.3 Bill without delivery= 2.0 Delivery Charge=0.3 VAT 0.1 Total Bill= 2.4 1

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!