They must be able to add new entries for the customer data list, update or delete those entries, and prepare a sales ticket. The sales tickets are prepared by multiplying the units of each product purchased by the products price then adding two dollars to each item to cover the cost of the bottles, after that the pre-total has a 9.25 % sales tax applied to it and this results in the final total.
You are tasked to utilize files, arrays, string manipulation tools, various loops, logical functions and keyboard data entry methods to prepare a system to meet their needs. All lists should be accessible by the user. They should have the option to view each list if they wish to do so.
Their products, price and respective ingredient numbers are as follows:
$3 – Basic Dry Rub (1, 2, 3, 4, 5, 7, 13)
$3 – Basic Burn Dry Rub (1, 2, 3, 4, 5, 7, 13)
$4 – Wildfire Dry Rub (2, 3, 4, 5, 7, 8, 12, 13)
$5 – Volcano Dry Rub (2, 3, 4, 5, 7, 8, 12, 13, 20)
$3 – Island Dry Rub (2, 3, 4, 6, 7, 18)
$4 – Island Heat Dry Rub (2, 3, 4, 6, 7, 13, 18)
$3 – Basic BBQ Sauce (1, 2, 3, 4, 5, 7, 13, 14, 15, 16, 17)
$4 – Sweet BBQ Sauce (1, 2, 3, 4, 5, 14, 15, 16, 17, 18, 19)
$5 – Volcano BBQ Sauce (2, 3, 4, 5, 7, 8, 9, 12, 13, 14, 15, 16, 17, 20)
Their ingredient list includes:
1) Paprika 2) Garlic Powder
3) Brown Sugar 4) Onion Powder
5) Salt 6) Sea Salt
7) Black Pepper 8) Hot Paprika
9) Chili Powder 10) Smoked Paprika
11) Celery Salt 12) Chili Powder
13) Cayenne Pepper 14) Ketchup
15) Cider Vinegar 16) Worcestershire sauce
17) Water 18) Lemon Extract
19) Soy Sauce 20) Diced Pepper Blend