Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a flowchart and write the corresponding pseudocode to solve the following business problem: For a limited time customers can get a discount if they
Create a flowchart and write the corresponding pseudocode to solve the following business problem:
For a limited time customers can get a discount if they order 5 or more Shamwowzers. They can also ask for expedited shipping for their order.
- Display an introductory screen that explains what the program does
- Get the number of Shamwowzers the customer would like to order
- Calculate the subtotal for the number of Shamwowzers ordered.
- Each Shamwowzer costs 19.99. However, if you order 5 or more, the Shamwowzers are discounted to 14.99 each
- Calculate shipping and handling costs based on number of Shamwowzers ordered
- Prompt the user to enter E for expedited shipping and handling, and S for standard.
- Customers are charged 2.99 shipping and handling for each Shamwowzer
- If customers want expedited shipping and handling, then charge $3.99 for each Shamwowzer instead
- Prompt the user to enter E for expedited shipping and handling, and S for standard.
- Display number of units ordered, the subtotal (the cost of the Shamwowzers alone), the shipping costs, and the final total (subtotal plus shipping costs) per customer
- Allow customer service agents to calculate additional orders by asking if the user would like to continue.
- Users will enter Yes to continue, or No to exit the program
You should use your first project as a starting point for this next phase.
Your design should consist of the following modules:
- Main Module
- Introductory Screen
- Order Capture
- Order Summary
Your design should also consist of the following functions:
- Calculate Subtotal (Costs of Shamwowzers)
- Calculate Shipping and Handling
- Calculate Total (Shipping and Handling + Costs of Shamwowzers)
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