Question
CREATE A HIERARCHY CHART for a c++ program to perform grocery check-out procedure for a simple store that will ship groceries to te users address.
CREATE A HIERARCHY CHART for a c++ program to perform grocery check-out procedure for a simple store that will ship groceries to te users address. Use a dynamic array of structures (Up to 100) to store this information. For each product we store the following information: - PLU code: Price Look Up Code. Unique for each product - Product Name, - Product Sales Type - Price Per Pound or Price Per Unit, - Current Inventory Level. Your program should: On initialization, read inventory from products.txt Do check-out functionality in a separate method/function. Enable the user to purchase several products in each checkout. After the user enters PLU code, ask the user to input the weight or # of units for each product (depending on its sales type) & keep up with the total ($). User can enter 0 for PLU code to indicate the end of checkout. If the total purchase exceeds $100, apply 15% discount to the total. A list of items and their prices should be displayed along with the total due before and after discount Then user can enter name, email, card and billing information for groceries to be shipped (ONLY NEED A HIERARCHY CHART, NOT THE CODE)
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