arithmetic \- provide drill in number facts
types out simple arithmetic problems,
and waits for an answer to be typed in.
If the answer is correct,
it types back \*(lqRight!\*(rq,
it replies \*(lqWhat?\*(rq,
and waits for another answer.
Every twenty problems, it publishes
statistics on correctness and the time required
type an interrupt (delete).
The first optional argument determines the kind of problem
addition, subtraction, multiplication, and division
problems to be generated.
One or more characters can be given;
if more than one is given, the different types of
problems will be mixed in random order; default is
all addends, subtrahends, differences, multiplicands, divisors,
and quotients will be less than or equal to the value of
At the start, all numbers less than or equal to
If the respondent makes a mistake,
the numbers in the problem which was missed
become more likely to reappear.
As a matter of educational philosophy, the program will
not give correct answers,
since the learner should, in principle,
be able to calculate them.
Thus the program is intended to provide drill for
someone just past the first learning stage,
not to teach number facts
the relevant statistic should be
time per problem, not percent correct.