Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
Find
+ max)/2; if(a[mid] == value) return mid; else if(value > a[mid]){ min = mid + 1; } else { max = mid - 1; } } if(max <= min) printf("khong co phan tu trong mang!!!");