int binarySearch(int input[], int size, int element) { int mid=size/2; if(input[mid]==element){ return mid; } }