I am asking for three inputs from the user:
- How much money do you want to retire?(Savings goal)
- Initial Investment
- Annual contribution
- Interest rate
And I want to calculate the amount you end up with in the bank and the retirement time?
Sample input: Savings goal: 1000000 Initial Investment: 5000 Annual contribution: 2500 Interest rate: 2.5 percent
Output: You can retire in 96 years.