Module: (C++) Tasks for using a while loop


Problem

2 /9


Bank interest

Problem

The deposit in the bank is x rubles. Every year it increases by  p percent, after which the fractional part of kopecks is discarded. Determine in how many years the contribution will be at least y rubles.

Input
The program receives three natural numbers as input: xpy (one number per line).

Imprint 
The program should output one integer.
 

 

Examples
# Input Output
1 100
10
200
8