Lab 4: Thursday July 14th

Bank of Java

A customer account at our Bank contains the account balance, the minimum required balance, and the customer's id number. Design the data for our customer.

The Bank has many customers, develop a kind of data that will allow the Bank to have an arbitrary number of customers  (including 0 customers), a good name might be CollectionOfCustomers. Hint: the CatchOfFish allowed our Fisherman to have an arbitrary number of Fish.

Develop a program to count the number of customers in a CollectionOfCustomers.

If you have time choose and do one of these problems:

Develop a program to calculate the total amount of money held by the Bank for all of it's Customers.

Develop a program to determine how many Customers are under their minimum required balance.

Develop a program to determine whether all Customers are over their minimum required balance.