By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,796 Members | 1,344 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,796 IT Pros & Developers. It's quick & easy.

Population Projection Program Chapter 1 Intro to Java

P: 1
Hello World,
I've been asked to write a program with the following information:

The U.S Census Bureau projects population based on the following assumptions:
1. One birth every 7 seconds
2. One death every 13 seconds
3. One new immigrant every 45 seconds.

Write a program to display the population for each of the next five years. Assume the current pop. is 312,032,486 and one year has 365 days.

Thank you so much...I know that i need to do some sort of computation but im prety confused.
Oct 17 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,422
First you want to map out how you would calculate it if you had to do it by hand. Once you have that down, you can convert your "human" instructions into computer code.
Oct 17 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.