Question: Write a program that produces a bar chart showing the population growth of town, at 20-year intervals during the past 100 years. The program should
- Write a program that produces a bar chart showing the population growth of town, at 20-year intervals during the past 100 years.
The program should read in the population figures (rounded to the nearest 1,000 people) for 1900, 1920, 1940, 1960, 1980, and 2000 and 2010. For each year it should display the date and a bar consisting of one asterisk for each 1,000 people.
Here is an example of how the chart might begin:
POPULATION GROWTH
(each * represents 1,000 people)
1900 **
1920 ****
1940 *****
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
