Imagine a GUI for adding people to a guest list, checking whether someone is there, and removing someone from the list.
Implement add-guest which takes a string and returns (void), but adds the string to the guest list.
Implement is-guest? which takes a string and returns true if the given string is on the guest list, false if not.
Implement remove-guest which takes a string and returns (void), and removes the string fromthe guest list.
Last update: Wednesday, October 22nd, 2003mflatt@cs.utah.edu |