Question: Having issue with javascript still. This code gives the wrong output. It gives: Year Principal Balance 1 600.00 7200.00 2 7200.00 46800.00 3 46800.00 284400.00

Having issue with javascript still. This code gives the wrong output.

It gives:

Year Principal Balance
1 600.00 7200.00
2 7200.00 46800.00
3 46800.00 284400.00
4 284400.00 1710000.00

When it should give:

Year Principal Balance
1 600.00 630.00
2 1200.00 1291.50
3 1800.00 1986.08
4 2400.00 2715.38

Help would be appreciated.

Investment Calculator

Investment Calculator 123

Annual Investment:

Annual Growth Rate:

Length of Investment (in years):

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!