Question: Write java program with a main method that generates an array of fourteen random temperatures, all between 10F and 50F , inclusive . Pass the
Write java program with a main method that generates an array of fourteen random "temperatures", all between 10F and 50F, inclusive. Pass the array to a second method that displays the temperatures all on one line and returns an ArrayList of all temperatures that are below freezing. The main method should use a loop to display these cold temperatures. Sample Output 
Temperatures in last 2 weeks... 33 29 22 43 42 22 45 13 12 33 45 35 33 41 These 5 were below freezing... 29 22 22 13 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
