\algorithm

Description

Defines the algorithm for the current question.

\algorithm{code}
code
The code defining the algorithmic variables used in the problem.

\algorithm will only define the question’s algorithm. The \var macro references the value of a variable for use in other question fields.

See Also