Lab 3 - Pascal
Due February 14th, Valentines Day
To Do:
You will implement a linked list of records. Each record should have an ID, a name, and a reference to the next element in the list. The records can be of any data that might have an id and name, let's say football team mascots.
- You should give the user menu choices to add a record, erase a record, print all records, or exit.
- Add a record can be done with adding the record at the end of the list, but to get an 'A' on the assignment you should add the record pre-sorted by id.
- Delete a record should prompt the user for the id to delete, but to get an 'A' you should be able to delete a record by id or name (after the user selects delete ask them if they want to use the name or id to identify the record they want to delete.)
- Print the list will print the ID and name of each record.
- Exit should exit.
You must use Pascal to do this assignment.
Grading
Grading will be based on completing all the tasks assigned, proper syntax, well thought out code, no reduntant code, commented code, and the general mood of Tim Gradl when he demos your program.