Wednesday
September 3, 2014

Homework Help: c++

Posted by imran on Sunday, July 8, 2012 at 11:35am.

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

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

computer c++ - write a program that produce a bar chart showing the population ...
CS - build a program that produce a bar chart showing the population growth of ...
algebra - Pick a country of your choice that is experiencing population growth. ...
c++ - Write a C++ program that reads the population of town A and its growth ...
AP Human Geography - For an assignment, I have to use this data sheet to do a ...
bio152 - the logistic population growth model, rN[(K-N)/K], describes a ...
Bio/Math - A population of glasswing butterflies exhibits logistic growth. The ...
environmental science - Explain the main point concerning exponential growth and...
busi/stats - The Quality Assurance Department selected a sample of 12 printed ...
stats - The Quality Assurance Department selected a sample of 12 printed ...

Search
Members