BEGIN
READ pricePerTicket, numberOfPerson total = pricePerTicket X numberOfPerson IF total is greater than or equal to 200
ELSE
discount = 20%
discount = 5%
amountDiscount = total – discount DISPLAY total, amountDiscount
END
Draw the equivalent flow chart of the pseudocode.
The answer to your question is provided in the image:
Comments
Leave a comment