Question: C++ Question 7 (10pt): Population The U.S. Census provides information about the current U.S. population as well as approximate rates of change. Using those rates
C++
Question 7 (10pt): Population The U.S. Census provides information about the current U.S. population as well as approximate rates of change. Using those rates and the current US population, write a program that takes a current population and computes the U.S. population in exactly one year (365 days). If you end up with a non-integer projected population, then round down to the nearest whole person. Three rates of change are provided: There is a birth every 8 seconds There is a death every 12 seconds There is a new immigrant arriving in the US every 27 seconds Expected output (bold is user input) Enter the current population: 1000000 The population in one year: 3482000 The file should be named as population.cpp. Don't forget to head over to Code Runner on Moodle and paste your solution in the answer box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
