Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have deployed the system for Williams & Son and all is going well. Mr. Williams is impressed with the new system's capability and how
You have deployed the system for Williams & Son and all is going well. Mr. Williams is impressed with the new system's capability and how easy it is to use the system. Because of this, he has asked you to modify the system so that it can automatically calculate discount for the customer based on the total amount of their purchase. Mr. Williams has asked that the discount amount be indicated on the slip as well as the amount due by the customer after discount has been applied. Discounts are awarded based on the following criteria: Sales Amount Discount R0 - R100 0% R101 - R150 5% R151 - R201 10% more than R201 15% Q.3.1 Make a copy of the pseudocode you created in Question 2.1. Then, modify the pseudocode so that the solution will satisfy the following requirements: The solution should make use of a selection structure to determine the percentage discount that the customer is to receive. Once the percentage discount has been determined, the discount amount should be determined. The slip produced should be amended so that it shows the total purchase amount, the amount of discount the customer receives as well as the amount due by the customer after discount has been subtracted from the total purchase amount
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