CSC 455

Assignment 1: Due Tuesday, January 16, 2007 in class

No database software may be used for this assignment. In your favorite programming language, develop a program that can manage data pertaining to a banking enterprise shown below. The data represents account number, account balance.

A101, 123.46

A201, 456.70


Your program should allow the user:

  1. to specify as many of these tuples as needed
  2. make sure that no two accounts have the same account number. If this happens, the program should produce an error message and continue running
  3. make sure that all account balances are numeric and greater than zero
  4. save the data to a text file named "account.txt" when the user exits the program
  5. read the data from the file when the program is executed again
  6. allow the user to list all accounts that have a balance greater than an amount specified by the user. For example, the user can ask for a list of accounts whose balance is greater than 200 dollars.