Answered step by step
Verified Expert Solution
Link Copied!

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
menu-driven system). The program starts by displaying a menu that allows the user to
perform the following operations:
1. 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.
2. Change Owner name of a specific account (ID should be provided followed by the
new Owner name)
3. Change Balance of a specific account (ID should be provided followed by the new
balance)
4. 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)
5. Activate a specific account (ID should be provided)
6. Deactivate a specific account (ID should be provided)
7. Withdraw from a specific account (ID should be provided followed by the amount to
be withdrawn)
8. Deposit to a specific account (ID should be provided followed by the amount to be
deposited)
9. Delete an account (ID should be provided).
10. Display number of chances to win (ID should be provided)
11. Display all information of a specific account (ID should be provided).
12. Display the information of all the accounts (sorted in an increasing order according to
the accounts ID).
13. Exit the program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Mannino Michael

5th Edition

0983332401, 978-0983332404

More Books

Students also viewed these Databases questions

Question

Why should business writers strive for conciseness?

Answered: 1 week ago

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago