c++
posted by imran .
Plzzzzzzzzzzzz Help program that produces a bar chart showing the population growth of Prairieville, a small?
Write a program that produces a bar chart showing the population growth of Prairieville, a small town in the Midwest, at 20 year intervals during the past 100 years. The program should read in the population figures (rounded to the nearest 1000 people) for 1900, 1920, 1940, 1960, 1980, and 2000 from a file. For each year it should display the date and a bar consisting of 1 asterisk for each 1000 people. The data can be found in the people.txt file.
Here is an example of how the chart might begin:
PRAIRIEVILLE POPULATION GROWTH
(each * represents 1000 people)
1900 *
1920 **
1940 *****
data inside people.txt is
2017
4416
4986
7129
7625
9243
Plz help me any kind soul with this program written only in C++ . I have spent couple of hours to understand the problem but sorry could not figure this out. Thanx in advance but plz in C++ very simple basic program without arrays and no pointers. thanx
Respond to this Question
Similar Questions

algebra
Pick a country of your choice that is experiencing population growth. Using the Library, web resources, and/or other materials to find the most recent population count of the country you have chosen and the population growth rate of … 
AP Human Geography
For an assignment, I have to use this data sheet to do a few things with the data it gives me. To get to it, go to PRB. org, click on 2008 World Population Data Sheet, and then click on 2008 World Population Data Sheet again I'm stuck … 
computer c++
write a program that produce a bar chart showing the population growth of Prairieville, a small town in the Midwest, at 20 year intervals during the past 100 years. the program should read in the population figures (rounded to the … 
CS
build a program that produce a bar chart showing the population growth of prairieville, a small town in the midwest, at 20 year intervals during the past 100 years. the program should read in the population figures (rounded to the … 
bio152
the logistic population growth model, rN[(KN)/K], describes a population's growth when an upper limit to growth is assumed. As N approaches (numerically) the value of K, additions to the population 
Bio/Math
A population of glasswing butterflies exhibits logistic growth. The carrying capacity of the population is 200 butterflies, and rmax, the maximum per capita growth rate, of the population is 0.10 butterflies/(butterflies*month). Calculate … 
c++
Write a C++ program that reads the population of town A and its growth rate as well as the population of town B and its growth rate. It outputs after how many years the population of town A will be greater than that of town B and the … 
Operating system
create a chart showing milestone in memory growth and the approximate date. 
Steve  Stat
A Bacteria has a doubling period of 8 days. If there are 2250 bacteria present now, how many will there be in 33 days? 
Calculus
The rate of change of the population of a small town is dP/dt=kP Where P is the population, t is the time in years and k is the growth rate. If P=20000 when t=3 and P=30000 when t=5, what is the population when t=10?