Pardon me if this isn’t the right place to ask but I need to make a compound-interest calculator, as a small high school project… with the feature that will help show the increase of investment over time

I just need to get the first part over with it…

Savings Simulator

Enter you initial investment: 600.00

Let’s invest your money

Interest Rate: 5

Number of years: 2

Year 1 $630.00

Year 2 $661.50…

https://docs.google.com/document/d/1Cebi50BQlEwuRnMG79TDZ178CHWMDTNIxN82b1xdASc/edit

  • mikyopii@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    I took the code you posted and then asked the free version of ChatGPT to do what you asked and got working code immediately. I would go that route.