Rewrite your class WeatherReport from the previous unit. Propose your own statistic and replace the Temperature class wi

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Rewrite your class WeatherReport from the previous unit. Propose your own statistic and replace the Temperature class wi

Post by answerhappygod »

Rewrite your class WeatherReport from the previousunit. Propose your own statistic and replacethe Temperature class with a new class that contains datayou need, but nothing else.
weather.txt
Average,City,Code,Direction,Full,Maximum,Minimum,Month,Precipitation,WindSpeed,State,Day,Year39,Birmingham,BHM,33,1/3/2016,46,32,1,0,4.33,Alabama,3,201639,Huntsville,HSV,32,1/3/2016,47,31,1,0,3.86,Alabama,3,201646,Mobile,MOB,35,1/3/2016,51,41,1,0.16,9.73,Alabama,3,201645,Montgomery,MGM,32,1/3/2016,52,38,1,0,6.86,Alabama,3,201634,Anchorage,ANC,19,1/3/2016,38,29,1,0.01,7.8,Alaska,3,201638,Annette,ANN,9,1/3/2016,44,31,1,0.09,8.7,Alaska,3,201630,Bethel,BET,9,1/3/2016,36,24,1,0.05,16.46,Alaska,3,201622,Bettles,BTT,2,1/3/2016,32,9,1,0.15,3.1,Alaska,3,201634,Cold Bay,CDB,20,1/3/2016,36,31,1,0.6,9.1,Alaska,3,201638,Cordova,CDV,9,1/3/2016,43,33,1,2.15,9.76,Alaska,3,201631,Delta Junction/FtGreely,BIG,14,1/3/2016,39,23,1,0,17.9,Alaska,3,201614,Fairbanks,FAI,2,1/3/2016,30,4,1,0,2.2,Alaska,3,201627,Gulkana,GKN,14,1/3/2016,34,19,1,0.02,8.23,Alaska,3,201639,Homer,HOM,9,1/3/2016,42,35,1,1.22,11.26,Alaska,3,201640,Iliamna,ILI,9,1/3/2016,42,37,1,0,19.76,Alaska,3,201636,Juneau,JNU,10,1/3/2016,40,31,1,0.7,9.23,Alaska,3,201634,Kenai,ENA,6,1/3/2016,37,30,1,0.14,11.2,Alaska,3,201637,Ketchikan,KTN,15,1/3/2016,41,33,1,0.17,6.16,Alaska,3,201639,KingSalmon,AKN,10,1/3/2016,42,35,1,0.05,18.83,Alaska,3,201640,Kodiak,ADQ,11,1/3/2016,42,36,1,1.3,21.8,Alaska,3,201627,Kotzebue,OTZ,11,1/3/2016,33,20,1,0.1,11.76,Alaska,3,201630,Mc Grath,MCG,15,1/3/2016,39,20,1,0.01,3.7,Alaska,3,201629,Nome,OME,6,1/3/2016,32,25,1,0.08,12.86,Alaska,3,20160,Northway,ORT,20,1/3/2016,8,-9,1,0,0.36,Alaska,3,201637,Palmer,PAQ,8,1/3/2016,42,32,1,0.4,10.5,Alaska,3,201660,Petersburg,PSG,18,1/3/2016,60,60,1,0,1.83,Alaska,3,201643,Sitka,SIT,19,1/3/2016,46,39,1,0.37,11.26,Alaska,3,201638,Skagway,SGY,14,1/3/2016,42,33,1,0.55,5.2,Alaska,3,201632,St PaulIsland,SNP,22,1/3/2016,35,29,1,0.15,9.03,Alaska,3,201632,Talkeetna,TKA,2,1/3/2016,39,23,1,0.04,4.93,Alaska,3,201621,Tanana,TAL,8,1/3/2016,29,13,1,0,3.83,Alaska,3,20166,Utqiagvik(Barrow),BRW,6,1/3/2016,9,2,1,0.05,13.76,Alaska,3,201636,Yakutat,YAK,11,1/3/2016,40,32,1,2.42,5.93,Alaska,3,201641,Douglas Bisbee,DUG,6,1/3/2016,57,24,1,0,4.2,Arizona,3,201640,Kingman,IGM,4,1/3/2016,54,25,1,0,4.2,Arizona,3,201658,Phoenix,PHX,13,1/3/2016,69,45,1,0,5.8,Arizona,3,201656,Tucson,TUS,12,1/3/2016,69,43,1,0,12.93,Arizona,3,2016
Previous units code:
WeatherReport.java
Temperature.java
WeatherDriver.java
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply