Question: The U . S . Census Bureau projects population based on the following assumptions: One birth every 7 seconds One death every 1 3 seconds

The U.S. Census Bureau projects population based on the following assumptions:
One birth every 7 seconds
One death every 13 seconds
One new immigrant every 45 seconds
Write a program to display the population for each of the next five years. Assume the current population is 312,032,486 and one year has 365 days.
Hint: In Java, if two integers perform division, the result is an integer. The fractional part is truncated. For example, 54 is 1(not 1.25) and 104 is 2(not 2.5). To get an accurate result with the fractional part, one of the values involved in the division must be a number with a decimal point. For example, 5.04 is 1.25 and 104.0 is 2.5.
 The U.S. Census Bureau projects population based on the following assumptions:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!