Hi, would anybody be king enough to assist me in completing this assignment?
A local bank is attempting to digitize a few of its services and
operations. In an effort to have a seamless transition for their customers –
from a physical environment to an online environment. You have been
contracted to implement a section of the application and simulates some
online banking transactions. More specifically, your application will mimic
some operations that can be performed with a customer’s personal loan and
savings account. An initial savings account has been sanctioned for the
purposes of testing your implementation, using: 258647 as the main account
number for customer Jane Doe, and 3284 as the PIN for accessing and using the
account.
Tasks:
Using principles of the object oriented programming paradigm, you are
required to implement a computer program which simulates performing
banking transactions for Jane Doe at the “<Your Name> International Bank”.
Use the C++ programming language to create a menu-driven program that
allows it user to:
1st. Login. The user must enter their main savings account number and the
PIN (as given in the scenario). If either inputs are incorrect your
application must display an appropriate error message, and then allow
the user to re-enter the inputs or quit the application. However, if the
user is successfully authenticated, your application will display its main
menu as follow:
2nd. Create an account. Upon selecting this option, your C++
application will prompt the user to select and enter data for the
type of account they wish to create.
Note:
Your solution to this task must demonstrate the concept of
inheritance. Specifically, you are to create a base class called
Account. Your Account class will have:
Data members to store: a distinct account number, an
account type (either savings or checking); the amount of
monies in the account; the name of the primary account
holder; the name of a joint account holder (storing a
value is optional); and, an account transfer status (which
stores the status false if monies in the account is less
than $10,000; otherwise, the status is true). Note that
the account transfer status indicates if a user is allowed
to perform transfers that debits monies from the
account.
Member functions must be implemented to access and
modify each data member of the Account class
You are to implement separate derived classes for Personal
Loan Account and Savings Account – both classes must inherit from
your Account class, and have specializations as follow:
Savings Account:
Data member to store: the last three details of
transactions performed on the account. A transaction
detail stores the transaction type (either debit or credit)
and the amount of monies that was debited from, or
credited to, the account.
Member functions must be implemented to access and
modify the data member of the Savings Account class. An
appropriate member function must also be implemented to
accept a value, k (where k ≥ 5000), and then initialize the
amount of monies in the account to k.
Personal Loan Account:
Data member to store: an existing saving account number
(that is, each personal loan account must be associated
with a savings account); the loan amount (this is valued at
$1,000 × amount of monies in the savings account);
interest rate, r (where 10% ≥ r ≥ 5.5%); and, the
monthly payment (0.75% of the loan amount).
Member functions must be implemented to access and
modify the data members of the Personal Loan Account class.
3rd. Transfer monies between accounts. Upon selecting this option, your
C++ application will prompt the user to select an account to
transfer from and also select an account to transfer to. You will
also prompt the user for a value, m (where m ≥ 0), and then
update the monies in each accounts appropriately. A user is only
allowed to transfer monies between savings accounts, and from
savings account to loan accounts; transfers between loan
accounts are restricted.