Name (print): ________________________________ Section No: _____________________
Honor Code Acknowledgment (sign): _____________________________
Due: September 10, 1996
int Median( const Vector <int> & numbers, int size) // precondition: assumes there is at least one integer in the vector // postcondition: returns the middle value, the first middle value if // there are an even number of numbers. // Example: If the array contained: 3 9 8 3 7 6 7 6 // then 6 is the 4th value and 7 is the 5th value, both // in the "middle" of 8 values, so 6 is returned. {