I have an if statement that should either match a text variable that the user has entered and a another text variable that has been got from an array but they won't match even if they are the same,Im at a lost with it. Help would be gratefully received.
You're sure that everything matches up when you input args?
i.e. answerarray[a] matches up with questionArray[a] and so on?
And I'm sure you made sure you typed everything correctly, but try putting answer = answerArray[noQuestion]; after the input and before the if statement. Let me know how that runs.