Problem with random
#4

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;
Reply


Messages In This Thread
Problem with random - by nuriel8833 - 04.01.2015, 11:05
Re: Problem with random - by ATGOggy - 04.01.2015, 11:08
Re: Problem with random - by nuriel8833 - 04.01.2015, 11:11
Re: Problem with random - by DavidBilla - 04.01.2015, 11:16
Re: Problem with random - by ATGOggy - 04.01.2015, 11:16
Re: Problem with random - by nuriel8833 - 04.01.2015, 11:26
Re: Problem with random - by ATGOggy - 04.01.2015, 12:00
Re: Problem with random - by ATGOggy - 04.01.2015, 12:02
Re: Problem with random - by ATGOggy - 04.01.2015, 12:13
Re: Problem with random - by ATGOggy - 04.01.2015, 12:15

Forum Jump:


Users browsing this thread: 4 Guest(s)