An investment with an initial value of is compounded annually at a rate of . Using a loop, calculate the number of years needed until the investment is worth .
The first line of input contains with at most 2 decimal places.
The second line of input contains , with at most 2 decimal places.
The third line of input contains , the rate of interest in percent with at most 2 decimal places. The interest will not be 0 or greater than 100%.
Output the number of years needed before the interest with initial value reaches a value of with a compound interest of every year.
100 200 12