Read in two variables, year and population. Each year the population increases b
ID: 3677663 • Letter: R
Question
Read in two variables, year and population. Each year the population increases by 10%. Write a program that displays the annual population and stops in the year when the town will count over 100,000 people for the first time.
Make sure that the population is positive, non-zero.
For example:
Input Output p=87650 year=2013 Year Population------------------
2013 87650
2014 96415
2015 106056 p=-4 year=2013 Population must be larger than 0