Class 23 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

Using the data definitions for Account and ListOfAccount and the variable Citibank that we defined in class, write a function remove-account that consumes an account number and removes the account with the given account number from Citibank.

Hint: Use remove-account to call another function, remove-from-list. remove-from-list consumes an account number and a list of accounts and produces a list of accounts with the named account removed.