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

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

Answers

Related Questions

International Crime Witness...

Assignment 3: International Crime Witness, Part 2Due Week 8 and worth 250 pointsAfter providing your report to the professor in Assignment 2, the coun...

Are employees motivated | Urgent Homeworks...

No plagiarisms, references During the past few weeks, you have considered the various elements of the research project. Compile all of the sections of...

​Supply Chain Management and managing Inventory...

Please respond to the following:Supply Chain ManagementUse the Internet to research best practices in supply chain management, determine which best pr...

The concept of purpose...

The concept of purpose The concept of purpose can be difficult to understand. In order to assist in defining the concept of purpose, choose one of the...

Quality Management...

After all your production planning analysis, you have been asked to prepare a Quality Management Planning Strategy for management and employees.Using...

Psychiatry Nursing health and medical assignment h...

Hello, I need a APA paper, 10 pages long, including one page of abstract on its own, cover sheet and references. Please choose one of these topics. Th...

Population Ecology Activity...

In this unit, you learned that the characteristics of a population at a given time can be represented graphically using birth and death rate data, amo...

Attached is the previous Annotated Bibliography. p...

The post Attached is the previous Annotated Bibliography. please elaborate the same paper and extend it to up to 13 pages. appeared first on Su...

right to life...

 In 200 words Choose one of the dilemmas listed under the section “Common Ethical Dilemmas in Health Organizations” from  Title: Leadership For...

Gardner’s Five Minds...

In 4–5 pages, explain the meaning of Gardner’s five minds, analyze personal competence in the five minds, and explain why the five minds are essen...

Informatics Solution Proposal: Specific Solution P...

Develop a proposal in which you evaluate the two specific products you selected in Week 4. Your goal is to persuade the directors of the health care w...

write a paragraph response to their debate...

First, before reading the debate, note if you are for or against the statement (before reading the debate, do you agree more with the pro or con posit...

Unit III Essay...

Summarize your answers to the following questions based on your reading of the material in Unit III. 1. Why are more organizational structures becomin...

process-mapping-assignment...

must use standard APA format 5- 10 pages, must use recommended references, Program/Department Student Learning Outcomes Assessed: This course includes...

Two sides of War essay prompt...

you are to write a 3-5 paragraph essay about the two sides of the revolutionary war in America. Your point of view is from a European country and you...

Electricity 19635727...

In 20 minutes, I will have four questions on1- Source transformation2- Superposition theorem 3- AC (Finding avg and effective values)4- RLC with phas...

Virtual Lab McGraw Hill States of Matter and lab r...

Step 1: Complete this Virtual Lab by interacting with the online Simulation. Answer the Virtual Lab Questions in complete sentences to demonstrate you...

business plan submissions entrepreneurship 1...

Based on the business and information attached in the PPT files, “submissions 1, 2 and 3”, Complete submissions 4, 5A, 5B, 5C, 6, and 7. Please do...

Strategy/Healthcare SWOT Analysis...

Now that Barbara has an understanding of the factors that influence clinic performance, it is time to set priorities and develop a preliminary strateg...

​Benchmark – Strategic Planning: Communication...

Using your completed action plan, create a 500-750 word communication plan for disseminating your action plan to all of the stakeholders. Which strate...

Week 1 Essay...

Week 1 Essay Topic: Select one mode of transportation and describe how technological changes have affected that mode throughout its history. Essay Req...

Nature Park Essay...

 Write a report (700-800 words can be more if you go over) on a natural park that you have personally visited during this semester.  Comment on the...

BIOL 102 ERAU Genetically Modified Organisms GMO...

My BIRW project will be about GMO’s or genetically modifiedorganisms. Because that is such a broad topic, this project will benarrowed down to conce...

. Describe your vision of a model economic system...

Social Instiutions 250 words: Instruction pick : Please choose one of the following questions: 1. In which forms of government do average citizens hav...

If you didn't find the right answer

Ask Your Questions, We'll notify you once someone answers it