Question: I need a C + + code that looks just like the instructions have it please! On the bottom left is the bar chart that
I need a C code that looks just like the instructions have it please! On the bottom left is the bar chart that need to be displayed by the code. On the right side are all the requirements that need to be done identically to what the program setup has.
Program
Vectors
Historical Population Change Bar Chart
Write a program that will input the population of a city or state for census years through in decrements of years The program will display a prompt for each year and the user will only enter the population for that year. You can make up your own input numbers while testing the program. You can also use the data from the following sample session for the state of Oklahoma rounded to nearest ten thousand Note that ddd population: on each line is the prompt.
Enter population data each
population: larr user input three million and nine hundred and sixty thousand
population:
population:
population:
population:
population:
population:
population:
population:
population:
After reading populations, the program should print a bar chart for each census year. The output must look as follows. Note that each asterisk represents people for there are asterisks, and has asterisksReqairements
The following template can be used to set up the program.
Make sure the input session looks identical to the sample on page
Make sure to use proper alignment of statements, indentation, spaces, and so on
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
