Oct 28, 2016 at 1:39am
thank you
Last edited on Nov 4, 2016 at 12:29am
Oct 28, 2016 at 1:43am
cout << "Enter the annual interest rate: ";
You forgot to cin >> annual_int;
I'd recommend that you change the type from int to double, as you will most likely be floating point values.
As for the loop, you want to keep adding to invest_balance
every month, until you've reached months
.
Last edited on Oct 28, 2016 at 1:48am
Oct 28, 2016 at 4:43am
can you help with writing the loop? i really dont understand how @intelgralfx