I have to create a program to calculate the number of years it will take to become a millionaire if i invest a certain amount and receive interest on it. I need a little help on how to start it, the only thing i have so far is we have to invest yearly
interest = invest * the rate (int. rate)
invest = invest + the interest
then we have to display a comment about the amount of money we are investing like, if is say 200 the print statement would say something like You would be waiting a decade to become a millionaire with that investment, try increasing it. and so on.
Is there anyone that would be willing to help with is program?