### BlueBook

## 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.

### Input

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.

### Output

The output will simply be the population that we estimated in the final year.

### Sample Input

1.6

1987

5000000000

2087

### Sample Output

24453487116

All Submissions

Best Solutions

**Point Value:** 3

**Time Limit:** 2.00s

**Memory Limit:** 16M

**Added:** Oct 22, 2008

**Languages Allowed:**

C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3

## Comments (Search)

PEGPro2016on Nov 08, 2017 - 12:44:09 am UTC What is wrong with my code???kxoraxeon Nov 08, 2017 - 3:54:59 pm UTC Re: What is wrong with my code???DanielMcIntoshon Oct 17, 2012 - 2:46:40 pm UTC Datesjargonon Oct 17, 2012 - 7:48:18 pm UTC Re: DatesXZNZon Nov 14, 2011 - 6:26:04 am UTC help!jargonon Nov 14, 2011 - 7:02:33 am UTC Re: help!XZNZon Nov 10, 2011 - 1:37:30 am UTC roundingjargonon Nov 10, 2011 - 2:56:17 am UTC Re: roundingbbi5291on Nov 10, 2011 - 2:59:13 am UTC Re: rounding