Exercise 1Make an executable class called Exercise1, with main method write necessary code to display the following:How Day Day Day Day Day many day’s temperatures? 1’s temperature: 78 2’s temperature: 81 3’s temperature: 75 4’s temperature: 79 5’s temperature: 71 76.8 81 71 5
User input Scanner(System.in)
Average temperature: Maximum temperature: Minimum temperature:
Use: Scanner(System.in)& for loop Use an array to store the values