The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 5 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
C Language Please.
After studying the population growth of Gotham City in the last decade of the 20th century, we have modeled GothamA????1s population function as
P(t) = 52.966 + 2.184t
wheret is years after 1990, andP is 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 GothamA????1s population in the year provided as an input argument. Write a program that calls the function and interacts with the user as follows: Enter a year after 1990> 2010
Predicted Gotham City population for 2010 (in thousands):107.566
Use an explanation function to explain to the user what the program does.
Use a print_results function to print the answer as well the input data.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll