#ifndef __IBS_H__ #define __IBS_H__ /** * ibs.h * Declaration of the legendary "binary search" function on integers. */ /** * binsearch (x, v[], n) * Find the index of x in the sorted array v of size n. * Return -1 if the value is not found. */ int ibs (int x, int v[], int n); #endif // __IBS_H__