Question: 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
  • 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

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!