Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago