Arrays 3 - search


examples


Classwork

In a text document:

Think about input, including variable names and types; prompt the user for input.

1.  Assume you have a module getGuestList that produces an array of names in order of VIP status.  Ask the user for their name, then check, and tell them whether or not they are on the guest list, and if so, at what position (remember to translate from programmer to human numbers, humans don't like to be told that they are #0. Also change that position in the list to "Guest Checked In"