Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The question is in the picture below. I also included a code I wrote below the picture. I wasn't able to add the Interest Rate
The question is in the picture below. I also included a code I wrote below the picture. I wasn't able to add the Interest Rate part to the table nor make the other two tables. Thanks.
Write a JavaScript that outputs three tables. With each table output the annual balance after investing 1,000 with a fixed interest rate. Each entry of the table represent the balance after n years. Where n run from 1 to 5. The first entry for year 1, second entry for year 2, etc. Your program will output three tables with different interest rate. The first table with interest rate of 5%, and the last table has interest rate of 7% Note the background color for odd row of table shall be yellow and even row to be lightgreen Year Amount on deposit 1 1050.00 2 1102.50 1157.63 4 1215.51 5 1276.28 6 1340.10 71407.10 S 1477.46 1551.33 10 1628.89 Intereat Rate 0.05 0.05 0.05 0.05 0.05 0.05 0.05 0.05 0.05 Intereat Rate 0.06 0.06 0.06 0.06 0.06 0.06 0.06 0.06 0.06 0.06 Year Amount on deposit 1060.00 2 1123.60 3 1191.02 4 1262.48 5 1338.23 6 1418.52 7 1503.63 S 1593.85 9 1689.43 10 1790.85 Intereat Rate 0.07 0.07 0.07 0.07 0.07 0.07 0.07 0.07 0.07 0.07 Year Amount on deposit 1 1070.00 2 1144.90 3 1225.04 4 1310.80 5 1402 55 6 1500.73 71605.73 8 1718.19 9 1838.46 10 1967.15
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started