I am working on a homework that requires us to write several functions outside of main that will be called either in main or one of the other functions. I need help with the two functions listed below. Both should be in C. 5) Write a function “findMode” that takes as an argument an integer array and an integer for the size of the array. It should return an integer of the mode of that array. If there are multiple modes, it can return any one of them. 6) Write a function “findMinMax” that takes as an argument an integer array, an integer for the size of the array, and two integer pointers. The function should print nothing and return nothing but change the value of the first pointer to the minimum value in the array and change the value in the second pointer to the max value in the array. Solution 5) #include #include #include #include int N = 20; int sequence[20]; int mode() { int maxValue = 0, maxCount = 0, i, j; for (i = 0; i < N; ++i) { int count = 0; for (j = 0; j < N; ++j) { if (sequence[j] == sequence[i]) ++count; } if (count > maxCount) { maxCount = count; maxValue = sequence[i]; } } return maxValue; } int main(int argc, char **argv) { int i; time_t seconds; time(&seconds); srand((unsigned int) seconds); for (i = 0; i < N; i++) sequence[i] = rand() % (100 - 1 + 1) + 1; printf(\"The set of numbers are: \"); for (i = 0; i < N; i++) printf(\"%d \", sequence[i]); printf(\"\ The mode of the set is: %d\", mode()); } 6) #include #include #include int main( void ) { int i = 0; int a[11]; int min = a[0]; int max = a[0]; srandom( (unsigned) time(NULL) ); for (i=0;i<11;i++) { a[i]=random( ) % 100 ; printf(\"%d\ \", a[i]); if (a[i] > max) { max = a[i]; } else if (a[i] < min) { min = a[i]; } } printf(\"Min: %d\ \", min); printf(\"Max: %d\ \", max); return ( 0 ) ; }.