Question
You are now allowed to use the following in additional to the techniques of the previous chapters: for loops math.h and pow() function formatting float
You are now allowed to use the following in additional to the techniques of the previous chapters: for loops math.h and pow() function formatting float and double numbers switch statements getchar() function ASCII chart do...while loops break and continue statements Logical AND (&&), logical OR (||), logical NOT (!) operators Work on format style!!! Points may be deducted for code that is not properly styled.
Q5: (World Population Growth) (20 points) World population has grown considerably over the centuries. Continued growth could eventually challenge the limits of breathable air, drinkable water, arable cropland and other limited resources. There is evidence that growth has been slowing in recent years and that world population could peak sometime this century, then start to decline. For this exercise, research world population growth issues online. Be sure to investigate various viewpoints. Get estimates for the current world population and its growth rate (the percentage by which its likely to increase this year). Write a program that calculates world population growth each year for the next 75 years, using the simplifying assumption that the current growth rate will stay constant. Print the results in a table. The first column should display the year from year 1 to year75. The second column should display the anticipated world population at the end of that year. The third column should display the numerical increase in the world population that would occur that year. Using your results, determine the year in which the population would be double what itis today, if this years growth rate were to persist.
(this is C programing )
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started