1)Writea program that asks the user forseveral days’ temperatures and computes the average temperature for thatperiod and how manydays were above average. First ask the user for how many days heshewants to calculate the average for. Then create an array with that number andask for the temperature of each day. Store the temps in the array. Then findthe average and the number of daysabove that average. Print the results to the screen.