Created
September 30, 2019 07:43
-
-
Save ahmedshahriar/fa6fdb9453b6f12e1a83c78a00274c2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int searchItem(int sist[],int item,int sizeList){ | |
int position=0; | |
while(position<(sizeList-1)){ | |
if(sist[position]==item){ | |
break; | |
}else{ | |
position++;} | |
} | |
return position; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment