08.17.15 - 12.13.15
Multiple Bank Accounts with Functions
Objective: to practice using arrays and functions
pastdue
Program compiles without errors | 5 pts |
Menu functions as specified | 5 pts |
User is allowed to open up to 5 accounts but no more | 20 pts |
Accounts can be listed | 10 pts |
Accounts can be deposited to individually | 20 pts |
Accounts can be withdrawn from individually | 20 pts |
Invalid inputs from the user are handled in all cases | 10 pts |
At least one function was created and used in writing the program | 5 pts |
2 or more functions were created and used when writing the program | 5 pts |
Total | 100 pts |
Write a C program that will allow a user to interact with a simulated bank. The bank will allow the user to open up to 5 accounts and each account will start with a 0 balance every time the program starts. The program is only responsible for dealing with the balance of up to 5 accounts, don't worry about interest rates or anything other than the balance.
Your application should display the following menu for the user and continue to show them the menu after each of their choices are complete until the user chooses option 5 to quit. The user should be informed if they make an invalid choice and the menu should be redisplayed.
1. Open Account
2. List Accounts
3. Deposit
4. Withdraw
5. Exit
The program should provide enough output/feedback to the user to be friendly and easy to use.