After how many years?
A man invests $A and $B to two different companies.
A grows 3% per year. B grows 2% per year.
Write a program to find after how many years A will surpass B.
Input: You will be given 2
positive integers (M and N) and M < N.
Output
: Show one
integer: the number of years that A will be more than B.
Sample Input1:
|
Sample Input2:
|
500 700
|
1000 2000
|
Sample Output1:
|
Sample Output2:
|
35
|
72
|
Для отправки решений необходимо