Question: I am trying to create a questioner game using Matlab, but I have a small issue. My problem is that I want to randomize the
I am trying to create a questioner game using Matlab, but I have a small issue. My problem is that I want to randomize the question for each level. So how I can do it

long a condition 1.3 3atl3rled if wrong answer 2 $condition if the total number of answers is greater than one. Scoret mytotal score correct2 answer, correct answer, correctl answer disp you lose &displays this message if the condition is satisfied return function to stop the whole game if the condition is satisfied end choice menu ('What was the first electronic computer called? pple ENIAC ACORN Computer if choice 1 a: correct answer Correct answer-1; disp Your answer is correct 3displays this message if the condition is satisfied. break tbreaks the loop if condition is satisfied previously end Wrong answer E wrong answer counter Wrong answer disp ('Your answer is incorrect &displays this message if the condition is satisfied end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
