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(n) ________ is an image that captures all or part of a computer screen

Fill in the blank(s) with correct word

Computer Science & Information Technology

A shortcut menu displays:

A) context-sensitive commands. B) a library. C) a theme. D) option buttons.

Computer Science & Information Technology