Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2020-01-10T23:45:16.360Z,10,2.3,22km SSE of Helena, Oklahoma 2020-01-10T23:44:31.240z,6.3,0.72,22km N of Ridgecrest, CA 2020-01-10T23:44:00.800Z,5.44,0.57,23km N of Ridgecrest, CA 2020-01-10T23:30:52.550Z,16.19,2.37,2km NE of Colton, CA' 2020-01-10T23:13:42.395Z,124.8,2.5,79km E of Old Iliamna,

image text in transcribed

2020-01-10T23:45:16.360Z,10,2.3,"22km SSE of Helena, Oklahoma" 2020-01-10T23:44:31.240z,6.3,0.72,"22km N of Ridgecrest, CA" 2020-01-10T23:44:00.800Z,5.44,0.57,"23km N of Ridgecrest, CA" 2020-01-10T23:30:52.550Z,16.19,2.37,"2km NE of Colton, CA'" 2020-01-10T23:13:42.395Z,124.8,2.5,"79km E of Old Iliamna, Alaska" Your program shall do the followings: reads earthquake data from earthquake.xls file into a dynamic array list (ArrayList) prompts user to enter date interval, magnitude and state as the place for the earthquake as search criteria performs search on the dynamic array based on the search criteria stores matching earthquakes in another dynamic array list displays the search results to the console together with the total number of events found saves the search results in a text file and name the file using state information (e.g Earthquake_Alaska.txt) keeps running the application as long as user wants to continue handles exceptions if user enters an invalid input, displays an error message if there is no record found, displays "No records found" message if file is not found, displays "File not found" message

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_2

Step: 3

blur-text-image_3

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 Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions