#include #include using namespace std; int getMaxTemp(int[],int); // function to calcualte Maximum Temprature int getMinTemp(int[],int); // function to calculate Minimum Temprature float getAvgTemp(int[],int); // function to calculate Average Temprature main() { int NDays; cout<<"Enter the number of consecutive days to read their temperature : "; cin>>NDays; if(NDays<=0){ cout<<"Please Enter number of days greater than 0!"<>Cday[i]; } cout<data[i]) min=data[i]; return min; } // function defination of calculating average temprature float getAvgTemp(int data[],int length){ float total=0; float avg = 0; for(int i=0;i