Computer Science 101 Final Exam Name ____________________ 1. Write the values of (x, y, and sum) each time the while() condition is evaluated. int x = 3; int y = 20; int sum = 0; while (x < y) { sum = sum + (x + y) / 2; x = x + sum / 3; y = y - sum / 4; } x y sum | | | | | | | | | | | | | | | | | | | | | | | | 2. Write a function int find_711() that will read an arbitrary number of integers from the standard input. If the collection of integers contains a 7 immediately followed by an 11, the function should return the value 1. Otherwise it should return the value 0. Reading should stop when end of file is encountered. Sample input: 11 3 7 11 2 Return value: 1 Sample input: 7 8 9 10 11 Return value: 0 inf find_711() { 3. Write a function int find_median() that will read in three integer values from the standard input. The values are guaranteed to be distinct. The function must print the median value. Sample input: -4 -8 6 Return value: -4 Sample input: 2 18 1 Return value: 2 int find_median() { 4. Write a function, int findmin(int table[], int count) that returns the smallest integer in the array table[] which presently contains count elements. count: 4 Input array: {3, 2, -1, 7} Return value: -1 int findmin(int table[], int count) { 5. Write a COMPLETE PROGRAM that will read 9 values into a two dimensional 3 x 3 array and print out the total number of rows and columns whose elements sum to 15. Sample input: 2 7 6 9 5 1 4 3 8 Sample output: 6 int main() { int array[3][3];