C++ Compound Interest Exercise
- by Lameste
I'm a beginner trying to learn C++ using "C++ Primer Plus Sixth Edition".
I'm on Chapter 5, going over loops. Anyways I was doing this programming exercise from the book, the problem is:
Daphne invests $100 at 10% simple interest.That is, every year, the investment earns
10% of the original investment, or $10 each and every year:
interest…