WeBWorK Main Forum

mini selection algorithm perl

Re: mini selection algorithm perl

by Zak Zarychta -
Number of replies: 0
Having thought about it and slept on it

@ques=('P','Q','=>','<=')
$a=rand(0,1,1)
$b=abs($a-1)

BEGIN_TEXT
ques[$a] ques[$a+2] ques[$b]
END_TEXT