In visual Studio C++ Create a program that uses a for loop toinput the high temperature, and low temperature for each day of theweek.
The high and low will be placed into two elements of thearray.
For each loop the high and low will be placed into the next setof elements of the array.
After the temps for all seven days have been entered into thearray, a for loop will be used to pull out the high and low tempsand total them.
After all temps have been totaled, the average high and low willbe calculated.
The output will display the following; The total high temps is\"total high\" The total low temps is \"total low\" The average hightemps is \"average high\" The average low temps is \"average low\"