Write a program that asks the user to input the high


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.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Write a program that asks the user to input the high
Reference No:- TGS0655923

Expected delivery within 24 Hours