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


Problem

1 /9


Jogging

Problem

On the first day, the athlete ran x kilometers, and then every day he increased the distance by 10% from the previous value. Given the number y determine the number of the day on which the athlete's run will be at least y kilometers.
 

Input 
The program receives as input real numbers x and y (one number per line).

Imprint 
The program should output one natural number.
 

 

Examples
# Input Output
1 10
20
9