diff --git a/C/binary_search.c b/C/binary_search.c new file mode 100644 index 0000000..1401268 --- /dev/null +++ b/C/binary_search.c @@ -0,0 +1,36 @@ +#include +#include + +int main() +{ + int n,l,h,m,z; + printf("Enter the Size of the Array\n"); + scanf("%d",&n); + + int arr[n]; + printf("Enter the Sorted Numbers in the Array\n"); + for(int i=0;i