ok, so I have an if statement that is huge :
if( slotNo[0] == 1 && slotNo[1] != 1 && slotNo[2] != 1 && slotNo[3] != 1 && slotNo[4] != 1 && slotNo[5] != 1)
{
winnings = 2;
}
and I would like to know if there is a more efficient way of doing this if statement. I don’t even know how reliable that statement is.
My if statements are gonna get worse too, because I’m going to have a lot of or’s and ands to check.
So if anyone has any advice on how I could do this more reliably and more efficiently would be very appreciated.