
-----------------------------------
CookieMonster
Sat Oct 19, 2013 5:59 pm

Turing help with creating a quiz! random order of questions every time?
-----------------------------------
Hi for a school assignment, I have to create a multiple choice quiz. Every time the user repeat the quiz, how do I have the questions in random order each time they do it? thanks any help will be appreciated!

-----------------------------------
Raknarg
Sat Oct 19, 2013 6:10 pm

RE:Turing help with creating a quiz! random order of questions every time?
-----------------------------------
x := Rand.Int (1, 3)

if x = 1 then

elsif x = 2 then

elsif x = 3 then

end if



Thats the easiest way, unless you want to get into arrays.
