Question: I need a code in C language with this specifications. SARTRE Specifications The program should at least meet the following specifications: . Have two modes

 I need a code in C language with this specifications. SARTRE

I need a code in C language with this specifications.

SARTRE Specifications The program should at least meet the following specifications: . Have two modes of operation: a client mode (CM) and an administrator mode (AM). The last one should be hidden to the client mode (e.g., secret option, password protected etc) All products of the VM should be saved so that each time the program is run the updated menu is shown. (CM) Products are loaded and displayed in a menu together with all possible options and what they mean. (CM) Each product has an internal count corresponding to the quantity available (stock). Stock can be modified in AM. Smart Choice! University of Nicosia/Engineering Dept. 1/2 Project Programming for Engineers (CM) If a product is out of stock it cannot be purchased and there should be a clear indication for this in the menu. (CM) There us an option for the client to buy a product after selecting it (e.g. giving a number correspond to the product) and paying the appropriate amount. (CM) The purchase is indicated on the screen with a message (e.g. saying "Please collect your in the slot below"). (CM) Money is emulated using keyboard buttons. You must provide options for at most 3 coins (e.g. 0.50, 1 and 2). (CM) Products should have various prices and not only equal to the 3 coins accepted. (CM) The VM calculates change and informs the client for the change returned on the screen with a message (e.g. saying Change: 1.50. Please collect them in the slot below."). (AM) Option for reloading each product with more items (change the quantity count). (AM) Option to change the price for each product. (AM) Option to add/delete a product. (AM) Option to clear all quantities for all products. (AM) All changes in this mode are saved (in a file or files) in order to be used at the CM

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!