Question: Write a program that produces a bar chart showing the population growth of Pakistan, at 20 years intervals during the past 100 yrs. The program

Write a program that produces a bar chart showing the population growth of Pakistan, at 20 years intervals during the past 100 yrs. The program should read in population figures (rounded to the nearest 1000 people) for 1900, 1920, 1940, 1960, 1980, 2000. For each year it should display the date and bar consisting of one asterisk for each 1000 people. It should display like this: Plattsburgh Population Growth (each*represents 1000 people)(7.5 Marks) 1900 ** 1920 **** 1940 ****** 1960 ******** 1980 ********** 2000 ************ The following is the population: 2157(1900) 4289(1920) 5317(1940) 7215(1960) 10789(1980) 12984(2000).

Programing language: C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!