Write a program that produces a bar chart showing the population growth of Prairieville, a small town
Fantastic news! We've Found the answer you've been seeking!
Question:
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 1910, 1930, 1950, 1970, 1990, and 2010 from a file. For each year it should display the date and a bar consisting of one asterisk for each 1000 people. The data is as follows:
2000 4000 5000 9000 14000 18000
it may look something like this:
PRAIRIEVILLE POPULATION GROWTH
(each * represents 1000 people)
1910 **
1930 ****
1950 *****
Related Book For
Posted Date: