Annotation of 43BSDReno/games/arithmetic/arithmetic.6, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1989 The Regents of the University of California.
        !             2: .\" All rights reserved.
        !             3: .\"
        !             4: .\" This code is derived from software contributed to Berkeley by
        !             5: .\" Eamonn McManus of Trinity College Dublin.
        !             6: .\"
        !             7: .\" Redistribution and use in source and binary forms are permitted provided
        !             8: .\" that: (1) source distributions retain this entire copyright notice and
        !             9: .\" comment, and (2) distributions including binaries display the following
        !            10: .\" acknowledgement:  ``This product includes software developed by the
        !            11: .\" University of California, Berkeley and its contributors'' in the
        !            12: .\" documentation or other materials provided with the distribution and in
        !            13: .\" all advertising materials mentioning features or use of this software.
        !            14: .\" Neither the name of the University nor the names of its contributors may
        !            15: .\" be used to endorse or promote products derived from this software without
        !            16: .\" specific prior written permission.
        !            17: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            18: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            19: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            20: .\"
        !            21: .\"    @(#)arithmetic.6        6.6 (Berkeley) 6/23/90
        !            22: .\"
        !            23: .TH ARITHMETIC 6 "June 23, 1990"
        !            24: .UC 4
        !            25: .SH NAME
        !            26: arithmetic \- quiz on simple arithmetic
        !            27: .SH SYNOPSIS
        !            28: .B arithmetic
        !            29: .B [
        !            30: \-o +\-x/
        !            31: .B ]
        !            32: .B [
        !            33: \-r range
        !            34: .B ]
        !            35: .SH DESCRIPTION
        !            36: .I Arithmetic
        !            37: asks you to solve problems in simple arithmetic.
        !            38: Each question must be answered correctly before going on to the next.
        !            39: After every 20 problems, it prints the score so far and the time taken.
        !            40: You can quit at any time by typing the interrupt or end-of-file character.
        !            41: .PP
        !            42: The options are as follows:
        !            43: .TP
        !            44: \-o
        !            45: By default,
        !            46: .I arithmetic
        !            47: asks questions on addition of numbers from 0 to 10, and corresponding
        !            48: subtraction.
        !            49: By supplying one or more of the characters
        !            50: .BR +\-x/ ,
        !            51: you can ask for problems in addition, subtraction, multiplication, and
        !            52: division, respectively.
        !            53: If you give one of these characters more than once, that kind of problem
        !            54: will be asked correspondingly more often.
        !            55: .TP
        !            56: \-r
        !            57: If a
        !            58: .I range
        !            59: is supplied,
        !            60: .I arithmetic
        !            61: selects the numbers in its problems in the following way.
        !            62: For addition and multiplication, the numbers to be added or multiplied
        !            63: are between 0 and
        !            64: .IR range ,
        !            65: inclusive.
        !            66: For subtraction and division, both the required result and the number to
        !            67: divide by or subtract will be between 0 and
        !            68: .IR range .
        !            69: (Of course,
        !            70: .I arithmetic
        !            71: will not ask you to divide by 0.)  The default
        !            72: .I range
        !            73: is 10.
        !            74: .PP
        !            75: When you get a problem wrong,
        !            76: .I arithmetic
        !            77: will remember the numbers involved, and will tend to select those numbers
        !            78: more often than others, in problems of the same sort.
        !            79: Eventually it will forgive and forget.
        !            80: .PP
        !            81: .I Arithmetic
        !            82: cannot be persuaded to tell you the right answer.
        !            83: You must work it out for yourself.
        !            84: .SH DIAGNOSTICS
        !            85: ``What?'' if you get a question wrong.
        !            86: ``Right!'' if you get it right.
        !            87: ``Please type a number.'' if arithmetic doesn't understand what you typed.
        !            88: .SH "SEE ALSO"
        !            89: bc(1), dc(1)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.