0

Below you can see my binary search method, and as a relatively new programmer I am looking for any suggestions on how it could be improved. Thanks in advance! :)
bool found = false;
int min = 0;
int max = 9;
int avg;
int anArray[] = {1,2,3,4,5,6,7,8,9,10};
int userNumber;
printf("Enter a numbe...