Cash-back offer from April 23rd to 27th, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 28.00

Program Chapter 13 100% Satisfaction Guaranteed!

Question posted by
Online Tutor Profile
request

Program Chapter 13

Grading Information: This Program is due on Sunday at Midnight.

Comments are REQUIRED; flow charts and pseudocode are NOT REQUIRED.

Directions Points

The file must be called <YourNameChapter13.java> (driver program)
FiLiSavingsAccount.java (handles interest and balance calculations)
(FiLi = First Initial Last Initial)

Example: KenDeweyChapter13.java (driver program)
KDSavingsAccount.java

Ensure you include ALL files required to make your program compile and run.
I would like to see your .java files only.

Proper coding conventions required the first letter of the class start with a capital
letter and the first letter of each additional word start with a capital letter.
5%
Overall Requirements
Write a program that establishes two savings accounts with saver1 having account
number 10002 with an initial balance of $2,000, and saver2 having account 10003
with an initial balance of $3,000. Set a common rate of interest at 5% per year. At the
end of each month, update the balance by adding one month’s interest to the
balance, so that the balance compounds monthly. Print an output that displays the
month number and the account number and the balance for each of the two
accounts. Use month 0 to display the initial balances, month 1 to display the
balances after the first month’s interest, and so on. At the end of the year, display the
total balance for both accounts combined, like this:

Output:
Monthly balances for one year with 0.05 annual interest:
Month Account # Balance Account # Balance
----- --------- ------- --------- -------
0 10002 2000.00 10003 3000.00
1 10002 2008.33 10003 3012.50
2 10002 2016.70 10003 3025.05
3 10002 2025.10 10003 3037.66
4 10002 2033.54 10003 3050.31
5 10002 2042.02 10003 3063.02
6 10002 2050.52 10003 3075.79
7 10002 2059.07 10003 3088.60
8 10002 2067.65 10003 3101.47
10%
9 10002 2076.26 10003 3114.39
10 10002 2084.91 10003 3127.37
11 10002 2093.60 10003 3140.40
12 10002 2102.32 10003 3153.49

Final balance of both accounts combined: 5255.81
Use two classes, a FiLiSavingsAccount class and a YourNameChapter13 as your
Driver class.

FiLiSavingsAccount.java class
In the SavingsAccount class, declare a class variable called annualInterestRate,
an instance constant called ACCOUNT_NUMBER, and an instance variable called
balance. Provide a two-parameter constructor to initialize the instance constant and
instance variable, and provide accessors for the instance constant and instance
variable. Provide an addMonthlyInterest method to update the balance, by adding
(balance * annualInterestRate / 12) to the current balance.
You are also required to provide a class method that sets the annual interest rate.
40%

YourNameChapter13.java class
In the YourNameChapter13 Driver class, instantiate the saver1 and saver2 objects.
Set the annual interest rate at 0.05. Print the table heading lines. Use a for loop to
print the initial account numbers and balances and the account numbers and
balances each month after that month’s interest has been added. After the last
month’s printout, compute and display the total of both balances.
40%
Your driver should generate the following outputs:
Output:
Monthly balances for one year with 0.05 annual interest:
Month Account # Balance Account # Balance
----- --------- ------- --------- -------
0 10002 2000.00 10003 3000.00
1 10002 2008.33 10003 3012.50
2 10002 2016.70 10003 3025.05
3 10002 2025.10 10003 3037.66
4 10002 2033.54 10003 3050.31
5 10002 2042.02 10003 3063.02
6 10002 2050.52 10003 3075.79
7 10002 2059.07 10003 3088.60
8 10002 2067.65 10003 3101.47
9 10002 2076.26 10003 3114.39
10 10002 2084.91 10003 3127.37
11 10002 2093.60 10003 3140.40
5%
12 10002 2102.32 10003 3153.49
Final balance of both accounts combined: 5255.81
Upload your page to the Dropbox.
NOTE: Complete your activity and submit it to the Dropbox in eCollege
Total Points 100%

Available Answer
Other Similar Questions
User Profile
termp...

TrainingProgram.docx HIMA620 Training Program Components American Public University HI

TrainingProgram.docx HIMA620 Training Program Components American Public University HIMA620: Corporate Compliance in the Healthcare Industry Training Program Components Every organization needs to implement a strong tra...
User Profile
Brain...

Program Capstone front-line supervisor to be one of the firm's senior managers

Decision making of a senior manager must always consider the vision, mission, goals, ethics and objective of the company. Manager’s decision must fall within the vision, mission, goals, ethics and objective of the company (...
User Profile
Acade...

Select two calculation tasks that a program could perform

Select two calculation tasks that a program could perform that could be used by a small business. Each task must include the following: Inputting a value Performing a calculation on that value Outputting the value Example ...
User Profile
Acade...

Select two tasks a program could perform Solution

Select two tasks a program could perform that would be useful to a small business. Each task must include the following: A conditional step Some form of iteration Example tasks include the following: Entering a number of item...

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35