Computer Science Canada Turing help with creating a quiz! random order of questions every time? |
Author: | CookieMonster [ Sat Oct 19, 2013 5:59 pm ] |
Post subject: | 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! |
Author: | Raknarg [ Sat Oct 19, 2013 6:10 pm ] |
Post subject: | 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. |