Question: please provide the code in java. As a programmer, you have been assigned by a shop to create a program that can calculate overall price

 please provide the code in java. As a programmer, you have

please provide the code in java.

As a programmer, you have been assigned by a shop to create a program that can calculate overall price for purchased items and generate a daily report. First, the program asks the user to enter the number of items in the shop. Second, for each order, the program asks the user to enter the number of items, then asks for item name, price and quantity of each item, and calculate the total price of the order. This information should be kept in arrays. The program will continue asking the details of each order. At the end of the day, the program should display a report including the order number, number of items, total price for each order, and the overall price. Sample run: >>>>> Enter the number of all shop itema: 20 Enter the umber of items for order nol: Enter the item name 1 Enter the price of NEJKI Enter the quantity of Milk:2 Enter the item name 2: sad Enter the price of Bread: Enter the quantity of Bread: Enter the item name 3: LC Enter the price of rica: 10 Enter the quantity of sicer More order? (Y/N: Enter the number of items for order no2:2 Enter the item name 1:54 Enter the price of 9:10 Enter the quantity of Egg: Enter the item name 2: Enter the price of Sugar Enter the quantity of Sugar: 2 More orders (T/N Daily Report Order No. Number of Items Total Price 55.00 71.00 The overall price for today is: 126.0

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!