Question: Write a program that computes the average and maximum population over time for a borough (entered by the user). Your program should assume that the

Write a program that computes the average and maximum population over time for a borough (entered by the user). Your program should assume that the NYC historical population data file, nycHistPop.csv is in the same directory.

A sample run of your program:

Enter borough: Staten Island Average population: 139814.23076923078 Maximum population: 474558 

and another run:

Enter borough: Brooklyn Average population: 1252437.5384615385 Maximum population: 2738175 

Hint: See Lab 6.

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!