LAST Name FIRST Name (1) Give C code to (a) ask the user how many numbers they want to enter, (b) ask the user for those integers, and (c) compute and print the average of all the numbers entered. Use correct spelling (including upper/lower case) and punctuation. (2) Random questions about C... (2a) What are the different types that can be used to store integers in C, and what are the differences between them? (2b) What are the smallest and largest possible values of a signed char? Of an unsigned char? Of an int? (2c) Evaluate each of the following: 15 & 7 15 && 7 = 15 | 7 = 15 || 7 = 15 ^ 7 = 10 & 12 = 10 ^ 12 = 10 | 12 = (3) What does the code do? For each, keep track of what the values of the variables are, and the final printed result. (3c) Functions and pointers void fun(int *x, int y, int z[]) { y = 7; x = z; *x = 8; z[1] = 9; } int main() { int v=0, *w, u[5] = {1, 2, 3, 4, 5}, t=6; w = u; fun(&v, t, u); printf("%i, %i, %i\n", v, *w, u[1]); } (3b) Pointers int x = 23; int *y = &x; int *z = y; x = 15; *y = 10; *z = 5; printf("%i, %i, %i\n", x, *y, *z); (3a) Arithmetic int x = 32; float f = 2.5; x = x / 3; f = f + x / 2; f = f - x; printf("%i\n%f\n", x, f); // x: // // f: // // printed: (3b) Loops (3c) Pointers