Linear Search Help

Hey guys,
I have to create a program that fulfills the following:
create a 25 element array with values between 1 and 50 and prompt user for a number to search for and see if the users number matches the one of the numbers in the array .

I'm kind of stuck .. any help please with at least an outline as to how to start this,

thanks,
Last edited on
It's easier if you split it up in small steps. The description says you should do the following four things:
1. create an array with 25 element
2. the values in the array should be between 1 and 50
3. ask the user to enter a number
4. search the array to see if the number entered exist in the array
Topic archived. No new replies allowed.