If statement issue in Array List with Random generator

Printable View