arithmetic(6) arithmetic(6)NAME arithmetic - provides arithmetic problems SYNOPSIS arithmetic [+] [-] [x] [/] [range] ARGUMENTS + Causes addition problems to be generated. - Causes subtraction problems to be generated. x Causes multiplication problems to be generated. / Causes division problems to be generated. range Indicates a decimal number; all addends, subtrahends, differences, multiplicands, divisors, and quotients will be less than or equal to the value of range. The default range is 10. DESCRIPTION arithmetic types out simple arithmetic problems, and waits for an answer to be typed in. If the answer is correct, it types back Right!, and a new problem. If the answer is wrong, it replies What?, and waits for another answer. Every twenty problems, it publishes statistics on correctness and the time required to answer. To quit the program, type an interrupt. The options, +, -, x, or /, determine the kind of problem to be generated. One or more options can be given. If more than one is given, the different types of problems will be mixed in random order. The default is +-. At the start, all numbers less than or equal to range are equally likely to appear. 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. For almost all users, the relevant statistic should be time per problem, not percent correct. FILES /usr/games/arithmetic Executable file January 1992 1