Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a command line program where the user will be able to print out weather information of US state capitals. You will download weather information

create a command line program where the user will be able to print out weather information of US state capitals. You will download weather information for all US state capitals. Here is a csv file that shows all the US state capitals and their latitude and longitude coordinates. You will download weather information from the Dark Sky API and you will allow your users to find out the following information: Display all the cities from the warmest city to the coolest city. (must display temperature as well as the name of the city and state) Display all the cities where it is currently raining. Also, display the total number of cities where it is currently raining. Display all the cities sorted based on the UV Index (from lowest to highest) In each run of your program, the user must be able to select from the three tasks above.

CSV file info:

name,capital,latitude,longitude Alabama,Montgomery,32.377716,-86.300568 Alaska,Juneau,58.301598,-134.420212 Arizona,Phoenix,33.448143,-112.096962 Arkansas,Little Rock,34.746613,-92.288986 California,Sacramento,38.576668,-121.493629 Colorado,Denver,39.739227,-104.984856 Connecticut,Hartford,41.764046,-72.682198 Delaware,Dover,39.157307,-75.519722 Hawaii,Honolulu,21.307442,-157.857376 Florida,Tallahassee,30.438118,-84.281296 Georgia,Atlanta,33.749027,-84.388229 Idaho,Boise,43.617775,-116.199722 Illinois,Springfield,39.798363,-89.654961 Indiana,Indianapolis,39.768623,-86.162643 Iowa,Des Moines,41.591087,-93.603729 Kansas,Topeka,39.048191,-95.677956 Kentucky,Frankfort,38.186722,-84.875374 Louisiana,Baton Rouge,30.457069,-91.187393 Maine,Augusta,44.307167,-69.781693 Maryland,Annapolis,38.978764,-76.490936 Massachusetts,Boston,42.358162,-71.063698 Michigan,Lansing,42.733635,-84.555328 Minnesota,St. Paul,44.955097,-93.102211 Mississippi,Jackson,32.303848,-90.182106 Missouri,Jefferson City,38.579201,-92.172935 Montana,Helena,46.585709,-112.018417 Nebraska,Lincoln,40.808075,-96.699654 Nevada,Carson City,39.163914,-119.766121 New Hampshire,Concord,43.206898,-71.537994 New Jersey,Trenton,40.220596,-74.769913 New Mexico,Santa Fe,35.68224,-105.939728 North Carolina,Raleigh,35.78043,-78.639099 North Dakota,Bismarck,46.82085,-100.783318 New York,Albany,42.652843,-73.757874 Ohio,Columbus,39.961346,-82.999069 Oklahoma,Oklahoma City,35.492207,-97.503342 Oregon,Salem,44.938461,-123.030403 Pennsylvania,Harrisburg,40.264378,-76.883598 Rhode Island,Providence,41.830914,-71.414963 South Carolina,Columbia,34.000343,-81.033211 South Dakota,Pierre,44.367031,-100.346405 Tennessee,Nashville,36.16581,-86.784241 Texas,Austin,30.27467,-97.740349 Utah,Salt Lake City,40.777477,-111.888237 Vermont,Montpelier,44.262436,-72.580536 Virginia,Richmond,37.538857,-77.43364 Washington,Olympia,47.035805,-122.905014 West Virginia,Charleston,38.336246,-81.612328 Wisconsin,Madison,43.074684,-89.384445 Wyoming,Cheyenne,41.140259,-104.820236

must be written in java

please explain what exactly you mean by saying more information is needed.

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

Domain Transfer Learning With 3q Data Processing

Authors: Ahmed Atif Hussain

1st Edition

B0CQS1NSHF, 979-8869061805

More Books

Students also viewed these Databases questions

Question

Different formulas for mathematical core areas.

Answered: 1 week ago