Question: In C code: Problem 1 (15 points): After studying the population growth of Gotham City in the last decade of the 20th deled Gotham's population
In C code:


Problem 1 (15 points): After studying the population growth of Gotham City in the last decade of the 20th deled Gotham's population function as: P(t) = 52.966 + 2.184t, where t is the number of years after 1990, and P is the population in thousands. Thus P(0) represents the population in 1990, which was 52.966 thousand people. Write a program that defines a function named population that predicts Gotham's population in the year provided as an input argument. Write a program that calls the population and interacts with the user as follows: Sample Code Execution: Red text indicates information entered by the user Enter a year after 1990: 2015 Predicted Gotham City population for 2015 (in thousands): 107,566
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
