Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this task, you have to design a system for the Banking System. In a banking system, mainly two types of accounts are popular. One

In this task, you have to design a system for the Banking System. In a banking system, mainly two types of accounts are popular. One of those is Savings Account and the other one is Current Account. Generally, an account contains the name of the account holder, account number, balance, and the operations on an account are depositing and withdrawing money. A withdrawal operation for a savings account is permitted if the account has some fixed amount (let it be $100) after the operation, otherwise not. On the other hand, the withdrawal operation is permitted for the current account until the account carries as much as the withdrawal amount. In the banking system, the savings account holder gets an interest on their account balance after each year-end.

Now you have to do the following tasks.

1. Design necessary class(es) to represent bank maintaining the characteristics described

2. Implement all of your classes (must be different files for different classes)

3. Your system should have the following facilities-

a) Can add a new account

b) May change savings interest rate

c) May ask to update the balance after adding the interest amount

d) May ask the number of currently active account

e) May ask for some account with a particular account number

f) Must capable to execute deposit and withdrawal operations

g) Transfer amount from one account to another

N:B: *** You have to show exception handling while taking inputs from user(account holder name, account number). And you also have to show interface class. ***

Please give the answer in two version. One with proper explanation/comments of your code(s). And the another version is only the main code(s) without explanation/comments.

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

Unity From Zero To Proficiency Beginner A Step By Step Guide To Coding Your First Game

Authors: Patrick Felicia

1st Edition

1091872023, 978-1091872028

More Books

Students also viewed these Programming questions

Question

7. LO.1, 2 Interpret this Regulation citation: Reg. 1.16310(a)(2).

Answered: 1 week ago