Insert const before any of the following array parameters that can be
changed to constant array parameters:
void output(double a[], int size);
//Precondition: a[0] through a[size - 1] have values.
//Postcondition: a[0] through a[size - 1] have been
//written out.
void drop_odd(int a[], int size);
//Precondition: a[0] through a[size - 1] have values.
//Postcondition: All odd numbers in a[0] through
//a[size - 1] have been changed to 0.
Correct code:
void output( const double a[], int size);
void drop_odd(int a[], int size);