1ARITHMETIC(6)                  BSD Games Manual                  ARITHMETIC(6)
2

NAME

4     arithmetic — quiz on simple arithmetic
5

SYNOPSIS

7     arithmetic [-o +-x/] [-r range]
8

DESCRIPTION

10     arithmetic asks you to solve problems in simple arithmetic.  Each ques‐
11     tion must be answered correctly before going on to the next.  After every
12     20 problems, it prints the score so far and the time taken.  You can quit
13     at any time by typing the interrupt or end-of-file character.
14
15     The options are as follows:
16
17     -o      By default, arithmetic asks questions on addition of numbers from
18             0 to 10, and corresponding subtraction.  By supplying one or more
19             of the characters +-x/, you can ask for problems in addition,
20             subtraction, multiplication, and division, respectively.  If you
21             give one of these characters more than once, that kind of problem
22             will be asked correspondingly more often.
23
24     -r      If a range is supplied, arithmetic selects the numbers in its
25             problems in the following way.  For addition and multiplication,
26             the numbers to be added or multiplied are between 0 and range,
27             inclusive.  For subtraction and division, both the required
28             result and the number to divide by or subtract will be between 0
29             and range.  (Of course, arithmetic will not ask you to divide by
30             0.)  The default is 10.
31
32     When you get a problem wrong, arithmetic will remember the numbers
33     involved, and will tend to select those numbers more often than others,
34     in problems of the same sort.  Eventually it will forgive and forget.
35
36     arithmetic cannot be persuaded to tell you the right answer.  You must
37     work it out for yourself.
38

DIAGNOSTICS

40     “What?” if you get a question wrong.  “Right!” if you get it right.
41     “Please type a number.” if arithmetic doesn't understand what you typed.
42

SEE ALSO

44     bc(1), dc(1)
45
46BSD                              May 31, 1993                              BSD
Impressum