Code:#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> void GetValues(int x[], int *pN); int FindBig(int x[], int n); int FindSml(int x[], int n); float FindAvg(int x[], int n); void main() { int a[100], myBig, mySml, n; float myAvg; GetValues(a,&n); myBig=FindBig(a,n); mySml=FindSml(a,n); myAvg=FindAvg(a,n); printf("The largest value is: %d\n",myBig); printf("The smallest value is: %d\n",mySml); printf("The average value is: %.2f\n",myAvg); } void GetValues(int x[], int *pN) { // Get user input for number of values here. printf("Enter Number Of Values: "); scanf("%d",&*pN); // insure it is less than 100 for(*pN=1; *pN=100; pN++) { printf("Enter Value: "); scanf("%d",&*pN); } } int FindBig(int x[], int n) { int myBig; myBig = x[0]; if(x[n]>myBig) { myBig = x[n]; return myBig; } return 0; } int FindSml(int x[], int n) { int mySml; mySml = x[0]; if(x[n]<mySml) { mySml = x[n]; return mySml; } return 0; } float FindAvg(int x[], int n) { { float sum,*pN, myAvg; sum = 0; sum+=x[n]; myAvg=(float)((float)sum / *pN); return myAvg; } return 0; }