Start
While cardNumber <>-1 do
Get cardNumber from the user (-1 - to exit)
Get amount spent in the store last month the user
if the customer spents more than 1000 in the store then
Display "The customer with the card number is a high spender"
end if
end While
Stop
Comments
Leave a comment