Run your program with the earthquake input file "quiz2.atom". There is a commented out line of code in the setUp method in EarthquakeCityMap that you can uncomment to make this happen:
Call sortAndPrint as appropriate to answer the following question.
What is the magnitude of the 6th earthquake printed (i.e. the 6th strongest earthquake)? To be clear, if there are two earthquakes of the same magnitude, each magnitude will count. For example, if the top 4 magnitudes are {7, 6.9, 6.9, and 6}, the 4th largest is 6
Answers
Answered by
15
hope it helps you!!! your answer
Attachments:
Similar questions
Chemistry,
9 months ago
Social Sciences,
9 months ago