Account Management System You have to implement a console-based account management system in this assignment. An account management system is an application for maintaining a personal account in a bank. Features of the system An account management system needs to store information about Bank Accounts and Customers. • This system supports two different types of accounts (Checking and Savings). • All customers have a name, address, and phone number. Each customer has their unique account number and the bank will identify customers by only that account number. • A customer may open both a savings account and a checking account. However, a customer must not have more than one savings account or checking account. All bank accounts must have the account number, balance, and date created. • • There are some features that are defined for all accounts, checkBalance(), printStatement(), make Deposit(), transferAmount(), calculate Zakat() and make Withdrawal() but the withdrawal limit is different based on the account type. Savings account customers cannot withdraw more than their balance but the checking account holders can withdraw more than their account balance (up to a maximum of 5000 PKR). - makeDeposit(): The Deposit Function will deposit the specified amount in the account. amount will be deducted make Withdrawal(): Withdraw function to withdraw an amount checkBalance(): Display function to display name and balance. printStatement(): show the complete details of the customer, account number, time of the transaction, date of transaction, transaction amount, and remaining balance. transfer Amount(): The transfer method transfers the amount from one bank account to the bank account selected by the user. calculateZakat(): This function will calculate zakat annually. It should ensure that the zakat will be calculated if the total balance is greater than or equal to 20,000. Zakat will be calculated using this formula (TotalBalance *2.5)/100. Zakat is only calculated for Savings accounts. displayAllDeductions(): This function displays all deductions made along with their details on the said account (e.g., Zakat for Savings and Tax for Checking). Checking accounts have additional functionality that may have transaction fees for deposits and withdrawals. The account holder will get only 2 free transactions per month. After that, the account holder must pay a transaction fee (10 Rs) for each additional
Account Management System You have to implement a console-based account management system in this assignment. An account management system is an application for maintaining a personal account in a bank. Features of the system An account management system needs to store information about Bank Accounts and Customers. • This system supports two different types of accounts (Checking and Savings). • All customers have a name, address, and phone number. Each customer has their unique account number and the bank will identify customers by only that account number. • A customer may open both a savings account and a checking account. However, a customer must not have more than one savings account or checking account. All bank accounts must have the account number, balance, and date created. • • There are some features that are defined for all accounts, checkBalance(), printStatement(), make Deposit(), transferAmount(), calculate Zakat() and make Withdrawal() but the withdrawal limit is different based on the account type. Savings account customers cannot withdraw more than their balance but the checking account holders can withdraw more than their account balance (up to a maximum of 5000 PKR). - makeDeposit(): The Deposit Function will deposit the specified amount in the account. amount will be deducted make Withdrawal(): Withdraw function to withdraw an amount checkBalance(): Display function to display name and balance. printStatement(): show the complete details of the customer, account number, time of the transaction, date of transaction, transaction amount, and remaining balance. transfer Amount(): The transfer method transfers the amount from one bank account to the bank account selected by the user. calculateZakat(): This function will calculate zakat annually. It should ensure that the zakat will be calculated if the total balance is greater than or equal to 20,000. Zakat will be calculated using this formula (TotalBalance *2.5)/100. Zakat is only calculated for Savings accounts. displayAllDeductions(): This function displays all deductions made along with their details on the said account (e.g., Zakat for Savings and Tax for Checking). Checking accounts have additional functionality that may have transaction fees for deposits and withdrawals. The account holder will get only 2 free transactions per month. After that, the account holder must pay a transaction fee (10 Rs) for each additional
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 19RQ
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT