Question
Develop a C program code for the following: World population has grown considerably over the centuries. Continued growth could eventually challenge the limits of breathable
Develop a C program code for the following:
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 year 75. 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. Sample Data: Population in the world is currently (2018) growing at a rate of around 1.09% per year(down from 1.12% in 2017 and 1.14% in 2016). The current average population increase is estimated at 83 million people per year. The current world population is an estimate 7.6 billion.
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.
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