Simulation of ATM interface

Hi guys,

I recently discovered this problem and any help would be great.

1) Create a file in vi named Accounts_File with the following data:
The user, the name, the pin number, current balance and transaction history.

There are 3 users who need to be inputted with all their PIN, etc shown. In vi, how do I assign a name to a pin and transaction history, etc?

2) The program should great users with an initial screen prompting the user to log in.

3) When a user (one on the 3 in vi file) enters a valid username, he will be prompted to enter a PIN. If the PIN is recognised, the user will be allowed to login and the programme should navigate to the Accounts Options Menu (AOM) screen.

4) The AOM will display:
display balance, withdraw funds, deposit funds, mini stmt, logout.

5) Display balance displays the currently logged in user's account balance.

6) Withdraw funds will promp the user to select an amount to withdraw:
�10, �20, 50, other.
The number is then subtracted from the user's account balance. If no funds, a message is displayed.

7) Deposit funds - will be added to the account balance.

8) Logout - programme should give them option to logout.

Any ideas how to tackle this? would be awesome for some code!

Double homework post. Thread closed.