Question: Write a C + + program to manage a POS System. The main user is an employee at a convenience store. 1 . The system
Write a C program to manage a POS System. The main user is an employee
at a convenience store.
The system should load a catalog of all products in the inventory, which include
products such as soda, chocolate, You can make the products into categories.
A user can search the inventory: The user of the system can search the inventory by
using the category, exact product, or by price range.
A user can sell products.
Add new inventory.
Remove inventory.
The program must have the following properties points:
You should do error handling and exception handling Ex: An employee cannot sell a
product that does not exist points
You should use inheritance: Example: You can design a generic product class, then
design derived classes for different kinds of products. The product class may have the
following data members: ID string Category string Name string expdate date
and price floating number The product class will have a virtual function called
computePrice that will calculate the price of the product. points
You must use polymorphism.: Use functions overloading and overriding. points
You can add as many derived classes as you wish, but the following two classes are a
must: Tobacco, LotteryTickets. The Tobacco class must have a specialTax field, and the
LotteryTickets class has two tax fields, one for the city, and the other for the county.
points
Also, design a menu should still appear until the exit option is chosen in the Main
program that has the following options implemented to test your classes functionality
points:
Search Inventory
Sell products
Add new inventory.
Remove inventory.
Exit
Extra Credit: points
Save and load data from and to a file or database.
Have the menu show in different colors than the
default.
there should be source files, header files and a main file to go with them
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
