thank you
Last edited on
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
can you help with writing the loop? i really dont understand how @intelgralfx