/* selection.h -- Functions to read an integer array, print it, sort it
 * using the selection sort method.
 */

#ifndef SELECTION_H_
#define SELECTION_H_

void printIntArray(int a[], int n);
 /* n is the number of elements in the array a.
  * These values are printed out, five per line. */

int getIntArray(int a[], int nmax, int sentinel);
 /* It reads up to nmax integers and stores then in a; sentinel 
  * terminates input. */

void selectionSort(int a[], int n);
/* It sorts in non-decreasing order the first N positions of A. It uses 
 * the selection sort method.
 */

#endif

