Friday, May 21, 2010

Code in C programming that after i enter 10 numbers i can search 1 number by using linear search in the array.

Please help me, i really need the code in C programming that after i enter 10 numbers i can search 1 number by using linear searh. Thank you so much in advanse.

Code in C programming that after i enter 10 numbers i can search 1 number by using linear search in the array.
Sounds easy.





declare array of int


get int


put in in array


stop after 10 numbers


ask for number to search for


loop over array til number found


No comments:

Post a Comment