Escolar Documentos
Profissional Documentos
Cultura Documentos
In this project, students will learn to work with files (streams), structures, arrays and arrays of
structures, and definitely teamwork.
Group Work
Students are supposed to work in groups of 2 or 3 members. If you have any problem finding
group members, please contact me.
1
Description of the Project
You are hired to develop a bank management system. The system should provide the
following features:
1. Open new account
2. Deposit amount
3. Withdraw amount
4. Display an account
5. Modify an account
6. Close an account
7. Exit
1-Open an account:
A new account is opened with the following details of the customer:
• Name
• Address
• Initial deposit amount
The system should generate a unique account number.
2-Deposit:
Deposition should be done each time the customer deposits a particular amount into an
account. Deposition is done in the account after receiving the following details.
• Account number
• Amount to deposit
3-withdrawal:
Using this withdrawal module, the user can withdraw a particular amount from an account.
Withdrawal can be done after getting the following details:
• Account number
• Amount to be withdrawn
2
6-Close an account:
This module is used to close an account. This is done after receiving the account number.
Then the corresponding account is closed.
Notes:
Once started, your program should read the data from files, and fill array of structures. When
the user asks to exit the program, all the text files would be replaced with the content of the
arrays.
You are expected to do error checking. For example, if the amount to withdraw is higher than
the balance, an error message should be displayed.
Project Submission
Please note that:
- Each group should submit only the code file (.cpp file) for the project and the data
files.
- One and only one member of each group should submit the assignment, which
should list the names of all group members.