Click to reopen instructions.

This is the starting point for the "Adding Birthdays" stage of the contact list project (Unit 3 Lab 2, page 3)—the first two pages of the lab have already been done for you. The project below has the contact constructor and its name/address/phone selectors built, ask name, ask address, ask phone, and answer to prompt helper blocks, a global contact list variable, and working Add and Clear buttons (the Find and Delete buttons are still unprogrammed).

Your job is to extend the contact ADT to store birthdays: build a date ADT (a constructor that takes a month, day, and year, plus selectors for each), edit the contact constructor to accept a birthdate built with your date constructor, write a birthdate from contact selector, and adapt the Add button so it asks for the new contact's birthday too. Then clear the list, add a few made-up contacts with birthdays, and debug.

Your work autosaves (and you can use the Save button); earlier versions are available from the Revisions dropdown.

Contact List (ADT Starter)

Revisions: