Help 2 condition while
when i use this statement it only works or username conditions instead of both why?
while (userScore != 10 || compScore != 10);
It should be && instead of ||. You should also remove the semi-colon at the end.
This true or you could do it seperately, the && symbols would work best though.
Topic archived. No new replies allowed.