Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this project, you are asked to implement a program that controls bank accounts for a certain bank. The accounts should be stored in a
In this project, you are asked to implement a program that controls bank accounts for a
certain bank. The accounts should be stored in a data structure that facilitates a set of
operations. The operations will be performed based on the selection of the user interactive
menudriven system The program starts by displaying a menu that allows the user to
perform the following operations:
Add a new account. The user will be asked to enter the information of the account
including ID account type, initial balance, and the name of the owner. The account will
be active by default.
Change Owner name of a specific account ID should be provided followed by the
new Owner name
Change Balance of a specific account ID should be provided followed by the new
balance
Change Type of a specific account ID should be provided followed by S if the new
type is Salary, or P is the new type is Surprise
Activate a specific account ID should be provided
Deactivate a specific account ID should be provided
Withdraw from a specific account ID should be provided followed by the amount to
be withdrawn
Deposit to a specific account ID should be provided followed by the amount to be
deposited
Delete an account ID should be provided
Display number of chances to win ID should be provided
Display all information of a specific account ID should be provided
Display the information of all the accounts sorted in an increasing order according to
the accounts ID
Exit the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started