PDA

View Full Version : Help with Investment script


Muffin_LA
14-10-2005, 16:10/04:10PM
Hi Everyone:

Well I am learning JavaScript now and doing pretty good at it from my marks but I am still having some problems when it comes to trying to decide how to write a script.

For my lesson I have to write a script that calculates a 15% return on an investment of $10,000. Calculate the number of years required for a single $10.000 investment to reach $1,000,000 at an average annual return of 15%. Use a looping statement and assume that each iteration is equivalent to one year.

I know I am over thinking this and making it harder.

Can someone please point me in the right direction.

Thanks again for all your help in the past and future.

Sincerely
Linda

Muffin_LA
19-10-2005, 16:08/04:08PM
I was over thinking it.

Connie
19-10-2005, 16:21/04:21PM
Congrats!! :cheers:

Muffin_LA
20-10-2005, 16:33/04:33PM
Thank you very much Connie.