Write a program that asks the user to input the high temperature for each day of one week.
(a) Store these temperatures in a one-dimensional array, and then display the high temperature for each day.
(b) Pass the array to a function that calculates and returns the average high temperature for the week.
(c) Pass the sorted array to another function that sorts the array via bubble sorting algorithm, prints the sorted array, and returns the highest temperature for the week to the main function.
(d) Print out the average high temperature and the maximum temperature in the main function.