I need, in a game, to have three of the mathematical operands (+, *, and -) selected, output on the graph screen, and then used to check an answer. Would the best way to do it be this:
:randInt(1,3→A //Or whatever variable :If Ans=1 :Text(5,15,"+ :If Ans=2 :Text(5,15,"- :If Ans=3 :Text(5,15,"* :If Ans=1 :B+C→D :If Ans=2 :B-C→D :If Ans=3 :B*C→D :For(X,1,500 ://Custom input code :End : //Grading code based on X and comparing answer to correct answer.
Or is there a better way?
Fixed the broken code block — burr