p124ex4 - World Pop
The world's population is increasing at a rate of approximately p% each year. The population in year y was n.
Write a program to estimate the population in the future assuming that the present growth rate continues until that time.
The first line will be the rate of increase (p), second line will be the starting year of the population (y), the third line will be the population (n) for the starting year and the last line will be the year at which we would like to estimate the population.
The output will simply be the population that we estimated in the final year.
Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Oct 22, 2008
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3