Calculate any gdp of any country and compare

INPUT FIRST GDP AND RIVAL GDP WITH FIRST GROWTH RATE AND THE GROWTH RATE OF YOUR RIVAL.
BE CAREFUL FIRST GDP MUST BE LOWER THAN THE GDP OF THE RIVAL BUT FIRST GROWTH RATE MUST BE HIGHER THAN GROWTH RATE OF THE RIVAL.
THE GOAL IS TO KNOW WHEN THE FIRST COUNTRY WILL BE ABLE TO CATCH UP WITH THE RIVAL OR RIVALS .
for example 2013:chine with its gdp (7000 billion dollars) and growth rate(7%) and usa with its gdp (16000 billion dollars) and growth rate (2.5). china will catch up with usa after 20 years. CHINA:27087.791 billion dollars /USA:26217.863 billion dollars IN 2033 .


: : :

: : :