Question: Java // populate the two variables below with data passed according the the mode char above // i.e. this should be used to call the
Java


// populate the two variables below with data passed according the the mode char above // i.e. this should be used to call the windChill method in NumUtils class double airTemp; double windspeed; // if there are less/more than 2 args, print an error message and dont call windChill // otherwise, report the airTemp, windSpeed and windChill values // NOTE: you will need to convert any string values read into doubles before passing // them to windChill() // MAIN METHOD (use this to launch the windChillfromCommandLine or windChillfromUser // methods, which each convert inputs from either the command line or direct keyboard // input, and pass these into the windChillmethod. Print a message indicating both // the inputs public static void main(String[] args) \{ //UsethistocallthewindChillUserInputs(..)methodabove
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
