CIS71, Section 4 FIVE MINUTE TEST #10 November 14, 2006 (10) 1. Declare a type color such that we can then declare a color variable x and assign to it things like RED, BLUE, .. as in: color x = BLUE; (10) 2. Declare a structure student with the fields lastname, firstname, midtermgrade, hmwksgrade, finalgrade. (20) 3. foo is defined by typedef struct Foo { int x; int y; } foo; Write the function double avg(int m, int n, foo a[m][n]) which returns the average of all the integers stored in the array a.