Help with a search

the program gives error i dont know why cuz im a bit new heres the code

void people(){
int Found=-1;
int i=0;

printf("Enter a name"); scanf("s",Search);
while((Found <=0) && (i<NO))
if (strcmp(Search,Patient[i].Name)!=0){{

return Found;

i is the count for array NO is the number of counts
Help me if u can thx
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!