Question: Bank Account Management System You are a software developer tasked with building a Bank Account Management System for a local bank.The bank requires a system
Bank Account Management System
You are a software developer tasked with building a
Bank Account Management System
for a local bank.The bank requires a system where customers can manage their personal accounts by performing basicoperations such as creating an account, depositing money, withdrawing money, checking their balance, andviewing account details.
The bank has a few simple rules:
Each account must have an initial deposit greater than
Deposits must be greater than
Withdrawals cannot exceed the current account balance.
The system will allow the user to create a bank account and perform multiple operations until they choose toexit. You are tasked with developing a
Bank Account Management System
for a small bank. The systemshould allow users to:
a
Create a new account
: The user inputs their name, account number, and initial deposit.
b
Deposit money
into the account.
c
Withdraw money
from the account.
d
Check the account balance
e
Display account details
name account number, and current balance
f
Exit the system
when they are done.
The system should allow users to perform multiple actions deposit withdraw, check balance, etc. until theychoose to exit.Instructions:
You are required to create the following functions:
createAccountstring &name, int &accountNumber, double &balance
:
Prompts the user for their name, account number, and initial deposit must be greater than
depositMoneydouble &balance
:
Allows the user to deposit money into their account. The deposit must be greater than
withdrawMoneydouble &balance
:
Allows the user to withdraw money, ensuring the withdrawal does not exceed the current balance. Thewithdrawal amount must also be greater than
checkBalanceconst double &balance
:
Displays the current account balance.
displayAccountDetailsconst string &name, const int &accountNumber, const double&balance
:
Displays the account holders name, account number, and current balance.
Use a
menudriven loop
to allow users to perform actions repeatedly until they choose to exit.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
