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:
- to specify as many of these tuples as needed
- make sure that no two accounts have the same account number. If this happens, the program should produce an error message and continue running
- make sure that all account balances are numeric and greater than zero
- save the data to a text file named "account.txt" when the user exits the program
- read the data from the file when the program is executed again
- 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.