Compose a structured English statement for the following supermarket scenario:

"First, we determine whether the customer has shopped with us before. If they have, we give them a free bonus coupon. If they have not yet shopped with us, we give them a free membership card. We do this until there are no more customers in line."


DO WHILE there are customers in line
IF customer has shopped here before
THEN give customer a bonus coupon
ELSE
THEN give customer a free membership card
END DO

Computer Science & Information Technology

You might also like to view...

A directory is physically stored __________.

a. in main memory b. in cache c. on disk d. none of the above

Computer Science & Information Technology

Where does the output appear when you run a script in the PowerShell ISE?

A. Top pane B. Console pane C. Command-Add-on pane D. Scripting pane

Computer Science & Information Technology

________ view displays thumbnails of slides in the presentation

A) Slide Sorter B) Reading C) Normal D) Presenter

Computer Science & Information Technology

You can use comparison criteria to compare two values by using the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology