##sample problem
DOCUMENT();
loadMacros(
"PG.pl",
"PGbasicmacros.pl",
"PGchoicemacros.pl",
"PGanswermacros.pl"
);
TEXT(beginproblem());
$showPartialCorrectAnswers = 1;
install_problem_grader(~~&std_problem_grader);
BEGIN_TEXT
This problem demonstrates WeBWorK procedures for grading
multipart problems. This problem will be graded by the standard
grading method which does not grant partial credit.
$BR $BR
You can see how thisis done by viewing the
\{ htmlLink(alias("sample_std_grader.html"),"source", q!TARGET="source"!)\}
for this problem.
$BR $BR
Enter the number 1. \{ans_rule(10) \} $BR
END_TEXT
$ans =1;
ANS(num_cmp($ans));
BEGIN_TEXT
Enter the number 2. \{ans_rule(10) \} $BR
END_TEXT
$ans =2;
ANS(num_cmp($ans));
BEGIN_TEXT
Enter the number 3. \{ans_rule(10) \} $BR
END_TEXT
$ans =3;
ANS(num_cmp($ans));
ENDDOCUMENT();