Search:

Type: Posts; User: Idiot_willing_to_learn

Search: Search took 0.12 seconds.

  1. Re: How to check if a word is there?

    for (string item: wordArray) {
    if (inputWord.equals(wordArray)
    JOptionPane.showMessageDialog(null, "The word " + inputWord + " " + isOrIsNot + " on the list.");
    }

    Am I getting warmer...
  2. Re: How to check if a word is there?

    But how do you use a loop on a string array? I'm not sure how to use a loop to get it to search the whole array?
  3. Re: How to check if a word is there?

    So after reading through that and thinking... should I use an if statement? Such as if(inputWord.equals(wordArray))? But then I'd have to have some sort of loop that has it check the entire list of...
  4. How to check if a word is there?

    I have a code with an array of words. The program asks the user to type in a word. The program should then search through the array and see if the word exists in the array or not. If it does exist,...
Results 1 to 4 of 4