Question: C programming help: My code almost works, I am having trouble with how to make the loop continue for 1 more iteration after it hits


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: Result p-87650 year-2013 Year Population Input 2013 2014 2015 87650 96415 106056 pu-4 year2013 Population must be larger than LON 10 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
