04.01.2015, 11:16
Not sure what is wrong with the switch statement but instead of adding 400 in every case, do
randvc = 400+random(212);
And in each case,something like
case 17: finalv = randvc-6;
randvc = 400+random(212);
And in each case,something like
case 17: finalv = randvc-6;