need idea to solve this Problem Please

Write a program that calculates how much money you’ll end up with if you invest an amount of money at a fixed interest rate, compounded yearly. Have the user furnish the initial amount, the number of years, and the yearly interest rate in percent.
At the end of the first year you have 3000 + (3000 * 0.055), which is 3165. At the end of the second year you have 3165 + (3165 * 0.055), which is 3339.08. Do this as many times as there are years.
1. Take input from user: http://www.cplusplus.com/doc/tutorial/basic_io/

2. Compute. You will repeat something N times (where N is years).
Sounds like a loop: http://www.cplusplus.com/doc/tutorial/control/

3. Show result.
Topic archived. No new replies allowed.