Question: C++ Write a program that reads an initial investment balance and an interest rate, then prints the number of years it takes for the investment

C++ Write a program that reads an initial investment balance and an interest rate, then prints the number of years it takes for the investment to reach one million dollars.

I think I am overthinking this, my teacher has sent it back twice. She said it was best to use a while loop. Thank you for your help.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!