Question: C++ PROGRAMMING 9. Population In a population, the birth rate and death rate are calculated as follows: Birth Rate Number of Births+ Population Death Rate

C++ PROGRAMMING
 C++ PROGRAMMING 9. Population In a population, the birth rate and

9. Population In a population, the birth rate and death rate are calculated as follows: Birth Rate Number of Births+ Population Death Rate Number of Deaths Population For example, in a population of 100,000 that has 8,000 births and 6,000 deaths per year, the birth rate and death rate are: Birth Rate 8,000 100,000 0.08 Death Rate 6,000 100,000 0.06 Design a Population class that stores a population, number of births, and number of deaths for a period of time. Member functions should return the birth rate and death rate. Implement the class in a program. Input Validation: Do not accept population figures less than 1, or birth or death num- bers less than 0

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!