hi, i'm trying to get a loop to end on either of two conditions.
both work fine on their own, it's just that when i put them together, the OR operator works like an AND operator; it doesn't stop the loop until BOTH conditions are true!! why is this happening?Code:while ((numCorrect < theLength) || (wrongs < 9)) {
// do stuff
}