int x = 1; if (rand(0,1) == 0) x = 5; else x = 10;