"Knowledge only increase when you share it with others"
Seach
binary search with location of the searching element
#include
#include
void main()
{
int c,l,m,n,f,s,a[10];
clrscr();
printf("enter the limit:");
scanf("%d",&n);
printf("enter the elements to array");
for(c=0;cl)
printf("not found");
}
getch();
}
No comments:
Post a Comment