int x = rand(-20,10); if (x < 2) x = -x;