checking a list for matching value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newguy194
    New Member
    • May 2007
    • 25

    checking a list for matching value

    If I have a program which asks a user to enter a number, and then I have an array of numbers, how can I check each number in the array to see if one matches?
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by newguy194
    If I have a program which asks a user to enter a number, and then I have an array of numbers, how can I check each number in the array to see if one matches?
    That's a pretty basic operator question. If you're having difficulty with it (and are unable to find it on Google), you probably need to spend some time with your teacher or a tutor, otherwise there are going to be other essential concepts that you might miss as well.

    Comment

    Working...