Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Program Your project is a mini BANKING SYSTEM. Your Group Name must be your Bank Name and must be displayed in all screens of

C++ Program

Your project is a mini BANKING SYSTEM. Your Group Name must be your Bank Name and must be displayed in all screens of your system. The system must adhere to the following:

The program first displays a menu which lets the user select his/her next action. The menu must show the following:

Open a New Account

Balance Inquiry

Deposit

Withdraw

View Account Information

Close Account

Exit Program

The program must be able to let a user create an account. The user account information that the user needs to input when creating an account are as follows:

First name, Last name, Middle name

Address

Birthday

Gender

Account type (Savings Account or Current Account)

Initial Deposit (5000 for SA, 10000 for CA)

PIN

The program must have to do the following:

When the user selects options 2 to 6 and he/she did not create a new account first, the program must say the there is no account yet and the user must create a new one first then the menu will be displayed again.

During account creation:

If the user enters a birthday with an age less than 18, the program must tell the user that his/her age is not yet allowed to open an account.

For the Gender, the only allowed input is M or F.

For the Initial Deposit, if the the user has selected Savings Account and the Initial Deposit is less than 5000, the program must tell the user that the initial deposit is not sufficient. Same with if the user has selected Current Account, the needed Initial Deposit must be 10000 or more. The program must let the user to enter the correct value.

For PIN, it must be a

If the user selects option 2. Balance Inquiry, the current remaining balance in the user's account will be shown.

If the user selects option 3. Deposit, the program will ask the user how much should be deposited, if the user enters a negative number or an amount lower than the minimum amount allowed for deposits, the program will prompt the user that the entered amount is not valid and asks the user to enter a valid amount or cancel the transaction. When the user entered a correct value, the program will ask the user for confirmation to proceed with the deposit transaction, if the user answers yes then the deposit amount must be added to the current balance. Note that the minimum amount for deposit is 300 for the SA and 500 for the CA. A message showing that the transaction is successful must be shown.

If the user selects option 4. Withdraw, the program will ask the user how much should be withdrawn, if the user enters a negative number or an amount higher than the current balance, the program will prompt the user that the entered amount is not valid and asks the user to enter a valid amount or cancel the transaction. When the user entered a correct value, the program will ask the user for confirmation to proceed with the withdraw transaction, if the user answers yes then the withdraw amount must be deducted from the current balance. Note that the minimum amount to withdraw is 300 for the SA and 500 for the CA. A message showing that the transaction is successful must be shown.

If the user selects option 5. View Account information, the program must display all the account information (Full Name, Address, Birthday, Gender, Account Type, Initial Deposit, and Current Balance.

If the user selects option 6. Close Account, the program must ask the user for confirmation to proceed. If the user answer Yes, then the deposited amount must be given to the user then the account information will cleared out. After closing the account the program will then show a message saying that the account is closed.

Note that after any transaction, the program must redisplay the menu.

When the user selects 7, then program will exit with a message thanking the user for using the program then display your names.

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

2. Compare the sales and service departments at Auto World.

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago