Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ Problem: You have to develop a system for a Grocery Store let us call it Grocery Stere Management System. Your system should be able
c++
Problem: You have to develop a system for a Grocery Store let us call it Grocery Stere Management System. Your system should be able to store data related to the grocery items. The details of the items mast be maintained to develop a repository. The system should be able to generate bills for the customers and update the repository whenever there is a sale transaction. Furthermore, the system ahould be able to prompt if a certain item runs cut so that the manager may decide for timely reinforcements. You are required to do the following: 1) Start by reading the data (i. grocery items) from a file which would contain the details as shown below. Set a limit to the number of items to be stored in the store (say 50 ). Every item may or may not have a fixed number of quantity available (ay 50 beresbottles packs). Once you upload the data, you can now work on the successive parts respectively. (10 Marls) (CLO2) (CLO4) The information related to the item(s) is as follows: - Product ID - Product Name - Wetght - Migdate - Exp date - Price (per packiper bottle) - Quantity 2) Now that you have the data avaibble with you, you must do the following: (20 Marks) (CLO3) (CLO4) - Insert new item - Delete an item - Update quantity (increase or decrease) - Lpdate Migexp dates - Update price - Search the price of an item - Search the remaining quantity of an item Remember these functionalities will be used time and again so you need to use appropriate programming practices. Furthermore, system should prompt the user once an item runs cut of quantity. 3) Now that the system is ready for the sale transactions. The system should be able to display bills for the purchased quantities inculcating tax amoant and discounts (if any). The same receipt should be output to a file so that the cusiomer may get a print-out. (10 Marks) (CLO4) Honers Tasks: a. System should mompt the user once an item is expired. For that you may neod the current date, b. If an item is nearing the end ie a certain ameant (iay 10 tablets) is left, ever may be reminded about getting the supphes for that item. Problem: You have to develop a system for a Grocery Store let us call it Grocery Store Management System. Your system should be able to store data related to the grocery items. The details of the iterns must be maintained to develop a repository. The system should be able to generate bills for the customers and update the repository whenever there is a sale transaction. Furthermore, the system should be able to prompt if a certain item runs eat so that the manager may decide for timely reinforcements. You are required to do the following: 1) Start by reading the data (i.e grocery items) from a file which would contain the details as shown below. Set a limit to the number of items to be stored in the store (say 50 ). Every item may or may not have a fixed number of quantity available (say 50 boxes bottesipacks). Once yoe upload the data, you can now work on the successive parts respectively. (10 Marks) (CLO2) (CLO4) The information related to the item(s) is as follows: - Proxluct ID - Product Name - Weight - Mfg date - Exp date - Price (per packjper bottle) - Quantity 2) Now that you have the data available with you, you must do the following: (20 Marks) (CLO3) (CLO4) - Insert new item - Delete an itetn - Update quantity (increase or decrease) - Update Mfg/Exp dates - Update price - Search the price of an item - Search the remaining quantity of an item Remember these functionalities will be used time and again so you need to use apptopriale programming practices. Furthermore, system should prompt the user once an item runs out of quantity- 3) Now that the system is ready for the sale transactions. The system should be able to display bills for the purchased quantities inculcating tax amount and discounts (if any). The same receipt should be output to a file so that the customer may get a print-out. (10 Marks) (CLO4) Bonus Tasks: a. System should prompt the user once an item is expired. For that you may need the current date. b. If an item is nearing the end ke a eertain amberiat (say 10 tablets) is left, user may be reminded about getting the supplies for that item. Problem: You have to develop a system for a Grocery Store let us call it Grocery Store Management System. Your system should be able to store data related to the grocery items. The details of the items must be maintained to develop a repository. The system should be able to generate bills for the customers and update the repository whenever there is a sale transaction. Furthermore, the system should be able to prompt if a certain item runs out so that the manager may decide for timely reinforcements. You are required to do the following: 1) Start by reading the data (i.e grocery items) from a file which would contain the details as shown below, Set a limit to the number of items to be stored in the store (say 50). Every item may or may not have a fixed number of quantity avaibable (say 50 boxesbottles/packs). Once you upload the data, you can now work on the suceessive parts respectively. (10 Marks) (CLO2) (CLO4) The information related to the item(s) is as followx: - Prodact ID - Product Name - Weight - Mfig date - Exp date - Price (per packiper botile) - Quantity 2) Now that you have the data available with you, you must do the following: (20 Marks) (CL.O3) (CLO4) - Insert new item - Delete an em - Update quantity (increase or decrease) - Update Mfig Exp dates - Update price - Search the price of an item - Search the remaining quantity of an item Remember these functionalities will be used time and again so you necd to use appropriate programming practices. Furthermore, system should peompt the user once an item runs out of quantity, 3) Now that the system is ready for the sale transactions. The system should be able to display bills for the purchased quantities inculcating tax amount and discounts (if any). The same receipt should be output to a file so that the custener may get a print-out. (10 Marks) (CLO4) Bonus Tasks: a. System should prompt the user once an itern is expined. For that you may need the current date. b. If an item is nearing the end i.e a certain amoent (say 10 tablets) is left, user may be reminded about getting the supplses foe that item Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started