Bank Management System
Bank Management System
DATA STRUCTURE
PROJECT: BANK MANAGEMENT SYSTEM
SUBMITTED TO: MISS AYISHA BASHIR
SUBMITTED BY:
ALISHBA AMIR
RUBAB AKHTAR
NAZISH GHAFOOR
KINZA MUQADDAS
BANK MANAGEMENT SYSTEM
INTRODUCTION:
FEATURES:
1. Add Account
3. Search Account
4. Deposit Money
Users can deposit a specified amount into an account by providing the account number.
The system validates the account number before proceeding.
Displays a confirmation message upon successful completion.
5. Withdraw Money
Enables users to withdraw money from a specific account by providing the account
number.
Checks for sufficient balance before processing the transaction.
Outputs appropriate success or failure messages.
The system allows saving all account details to a file and loading them back during
startup.
7. User-Friendly Interface
Implementation Details
BankAccount Class:
o Represents individual bank accounts.
o Attributes: Name, Account Number, and Balance.
o Methods: Deposit, Withdraw, and accessors for attributes.
BankManagement Class:
o Manages multiple accounts using a vector.
o Methods for adding, searching, displaying, depositing, and withdrawing funds.
o File operations for persistent storage.
2. File Handling
3. Formatting
iomanip is used for formatted output to create a neat tabular view for account details.
Displays monetary values with two decimal places.
Code:
Sample Run
Menu Options:
1. Add Account
3. Search Account
4. Deposit Money
5. Withdraw Money
6. Exit
Account Display:
-------------------------------------------------------
-------------------------------------------------------
Deposit Example:
Advantages:
Limitations:
Future Enhancements:
Conclusion
The Banking Management System provides a robust and user-friendly solution for managing
bank accounts. It demonstrates key programming concepts, including object-oriented
programming, file handling, and formatted output. While it is a functional prototype, future
enhancements can transform it into a comprehensive banking solution.