I suppose it should be
while (rndNumber == 1as1 || rndNumber == 1as2)
After ||
operator you need to specify full boolean expresion, there is not shorthand for right argument only.
I suppose it should be
while (rndNumber == 1as1 || rndNumber == 1as2)
After ||
operator you need to specify full boolean expresion, there is not shorthand for right argument only.