Question: Write a C# program to determine what the population will be in City A in five years. Projections for the city's growth indicate that for
Write a C# program to determine what the population will be in City A in five years. Projections for the city's growth indicate that for the next five years, there will be a constant increase of 4%. This year the population in City A is 23,962. Display a table with the growth expectations for the next five years. You will need to think about and use the appropriate variable types to correctly display the population. In other words, you can't have a fraction of a person.
Hint: Casting will be needed
Your program should produce an output similar to this, make sure your numbers match.
City A's population 23,962 Year Population 1 24920 2 25917 3 26953 4 28032 5 29153
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
