A program is to be written to calculate the discount given on purchases.
A purchase may qualify for a discount depending on the amount spent. The purchase price
(Purchase), the discount rate (DiscountRate) and amount paid (Paid) is calculated as shown
in the following pseudocode algorithm.

The algorithm is also to be documented with a program flowchart.
Complete the flowchart by:
• Creating this flowchart in any programme and then screenshot it and upload...
..or by drawing it and then scanning/photographing it and upload.
• labeling, where appropriate, lines of the flowchart
