Question: Write a complete C++ program for a small store that contains the store goods and their prices as follows: Create two arrays the first one

Write a complete C++ program for a small store that contains the store goods and their prices as follows:

Create two arrays the first one for goods, the second one for its price. ( 1 mark). {eggs , chees , milk , beans, rice} (20 , 15.5 , 10 , 5.25 , 18 } Ask the user to enter one element to search if its available in the store or not. ( 1 mark). (What do you want to buy from our store?) .. the item available, its price . OR sorry, we dont have this item in our store. Delete the selected Item and its price for your arrays, then shift the rest. ( 1 mark). Print the store goods after deletion. ( 0.5 mark). Ask if the user needs to buy another item. ( 0.5 mark). (Do you need to buy another item? Enter one item or X to exit). Find the total price for all goods. ( 0.5 mark). Take a screenshot of the output. ( 0.5 mark).

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!