Lecture 20 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

Using the data definitions for account and list-of-account that we defined in class, write a function withdraw-funds that takes an account number and an amount of money and adjusts the balance in the given account by subtracting the amount of the withdrawal. If the original amount of the balance is less than the amount to be withdrawn, print an error message.