Implement an inheritance hierarchy based on the following specifications for Account class, Checking Account class, and Savings Account class: Account class Methods: processDeposit ( ) – accepts a single double parameter containing the deposit amount. Updates the balance by adding the deposit amount to the balance. processWithdrawal ( ) – accepts a single double parameter containing the withdrawal amount. Updates the balance by subtracting the withdrawal amount for the balance. Note: For now do not worry about negative balances. calcInterest ( ) – Coded as a double method with an empty body. Attributes: String Account Name Integer Account ID Double balance Constructor Prompt the user and accept input for the Account Name, Account ID and the initial balance. The CheckingAcct class which is a derived class of the Account class. Attributes: Inherits all the attributes of the Account class. The overpublish fee is double and is populated in the constructor of the CheckingAcct class. Methods: calcInterest () – If the account balance is greater than or equal to 3000.00 an interest rate of 1% or .01 is applied to increase the balance. Constructor: Prompt the user for the OverpublishFee. The SavingsAcct class which is a derived class of the Account class. Attributes: Inherits all the attributes of the Account class. There are no other attributes. Methods: calcInterest ( ) – If the account balance is greater than or equal to 5000.00 an interest rate of 4% or .04 is applied to increase the balance. If the balance is greater than or equal to 3000.00 an interest rate of 3% or .03 is applied to increase the balance. Otherwise use an interest rate of 2%. The new balance is returned to the calling program. Constructor: Inherited from the Account class. (no code needed) Main: Prompt the user for the bank name and routing number. Create at least two account objects (each of a different type). Process a deposit then withdraw then calculate the interest for each account. Generate the following report: Bank Name: XXXXXXXX Routing Number: XXXXXX Account Name: XXXXXX Account ID: XXXXXXXXX Balance: 9999.99 Account Name: XXXXXX Account ID: XXXXXXXXX Balance: 9999.99
We always make sure that writers follow all your instructions precisely. You can choose your academic level or professional level, and we will assign a writer who has a respective degree.
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document.
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension.A 100% refund is guaranteed.
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text.
Tutorpro support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
At Tutorpro, we have top rated masters and PhD writers who will help you tacke that homework and score A+ grade. Tutorpro services covers all levels of education : high school, college, university undergraduate, masters and PhD academic level.
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Tutorpro academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. This is free because we want you to be completely satisfied with the service offered.