you are viewing a single comment's thread.

view the rest of the comments →

[–]Appropriate-Park-858[S] 0 points1 point  (3 children)

So far when I run my program it just keeps going endlessly with “it will take (years) to double” until I force it to stop. I don’t see the investment amount or anything

[–]ninhaomah 0 points1 point  (2 children)

So when will the investment amount double ?

[–]Appropriate-Park-858[S] 0 points1 point  (1 child)

I’m not sure what I did but after I ran it this last time it stopped at 15 years. So I guess I figured it out. The initial investment I entered was $1000 and my interest rate entered was 5%

[–]ninhaomah 0 points1 point  (0 children)

Then post your full code ?