computer c++

posted by .

write a program that produce 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 form a file. for each year it should dosplay the date and a bar constucting of one asterisk for each 1000 people. the data can be found in the people.dat.file

example:

paririeville population growth
(each * represents 1000 people)

1900 **
1920 ****
1940 *****

  • computer c++ -

    What's your question?

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. math

    Hi, Can you please help me. Thank-you. The present population of a town is 42000. a) Determine the population 4 years ago if the growth rate has been a constant 4%/year. b) Determine the number of complete years that have passed since …
  2. computer science

    write a program that asks the user to enter today's sales rounded to the nearest $100 for each of three stores. the program should then display a bar graph comparing each store's sales. create each bar in the graph by displaying a …
  3. computer science

    write a program that asks the user to enter today's sales rounded to the nearest $100 for each of three stores. the program should then display a bar graph comparing each store's sales. create each bar in the graph by displaying a …
  4. CS

    build a program that produce 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 …
  5. c++

    Plzzzzzzzzzzzz Help program that produces a bar chart showing the population growth of Prairieville, a small?
  6. MATH

    4. The population of a small town is modelled by the function p(t)= 20(4t+3)/2t+5 , where P(t) is the population, in thousands, and t is time, in years, since the start of 1990. a) Is the population currently increasing or decreasing?
  7. math

    The population of a small town is modelled by the function p(t)= 20(4t+3)/2t+5 , where P(t) is the population, in thousands, and t is time, in years, since the start of 1990. a) Is the population currently increasing or decreasing?
  8. c++

    Write a C++ program that reads the population of town A and its growth rate as well as the population of town B and its growth rate. It outputs after how many years the population of town A will be greater than that of town B and the …
  9. Math

    The population of a small Midwestern town is 4500 The population is decreasing at a rate of 1.5% per year. Write an exponential decay function to model this situation. Then find the number of people in the town after 25 years.
  10. Algebra 2 help please.

    The function f(t)=2150⋅(1.04)t models the population of a town after t years. What does 2150 represent in this situation?

More Similar Questions