Question: In C write a menu-driven, interactive program for managing bank accounts. All account information should be stored in a binary file accounts.dat. Your data file
In C write a menu-driven, interactive program for managing bank accounts. All account information should be stored in a binary file accounts.dat. Your data file accounts.dat should contain at least 5 different customers when you submit this assignment. You can limit the maximum number of accounts in the bank by 50. You may store all accounts in memory (as an array), which should simplify most operations, but any change on any account should be immediately reflected in the data file (accounts.dat) not only on exit. For each customer, the data file should store the following fields (you decide on reasonable data types): First name Middle initial Last name Account number (any 6-digit number) Account balance.
For this I Just need you to create aaccounts and then delete an account based on the given account number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
