Question: use java You've been tasked to perform some basic analytics on data containing information about the largest cities in the us. The following files have

 use java You've been tasked to perform some basic analytics on

use java

You've been tasked to perform some basic analytics on data containing information about the largest cities in the us. The following files have been provided to you: Cities.txt: a list of the largest cities in the U.S. Population.txt: a list of populations that correspond to the cities list Lat.txt: a list of latitudes that correspond to the list of cities Long.txt: a list of longitudes that correspond to the list of cities Required Submission Read the cities.txt and population.txt files and identity the largest city (by population) and the second largest city (by population). You must store all data from these two files into two separate arrays and operate on those arrays. Display the results as follows: U.S. Cities Analytics Largest city: New York (population 8405837) Second largest city: Los Angeles (population 3884307) Note: The determination of the largest and second largest cities and associated populations should be strictly determined programmatically (do not hard code these determinations). You've been tasked to perform some basic analytics on data containing information about the largest cities in the us. The following files have been provided to you: Cities.txt: a list of the largest cities in the U.S. Population.txt: a list of populations that correspond to the cities list Lat.txt: a list of latitudes that correspond to the list of cities Long.txt: a list of longitudes that correspond to the list of cities Required Submission Read the cities.txt and population.txt files and identity the largest city (by population) and the second largest city (by population). You must store all data from these two files into two separate arrays and operate on those arrays. Display the results as follows: U.S. Cities Analytics Largest city: New York (population 8405837) Second largest city: Los Angeles (population 3884307) Note: The determination of the largest and second largest cities and associated populations should be strictly determined programmatically (do not hard code these determinations)

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!