summaryrefslogtreecommitdiffstats
path: root/arithmetic/arithmetic.6
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-09 23:07:00 +0000
committerlukem <lukem@NetBSD.org>1997-10-09 23:07:00 +0000
commit3c0c7a72c2f0803e801f2330c329aff2eee680d5 (patch)
tree6d92adc9fc2a7d570c0426be556598ee7bc7a953 /arithmetic/arithmetic.6
parente70ef401ba43f3b9aee92ed87dccd079e08ce3bf (diff)
downloadbsdgames-darwin-3c0c7a72c2f0803e801f2330c329aff2eee680d5.tar.gz
bsdgames-darwin-3c0c7a72c2f0803e801f2330c329aff2eee680d5.tar.zst
bsdgames-darwin-3c0c7a72c2f0803e801f2330c329aff2eee680d5.zip
KNFify, WARNSify, use errx(), clean up .Nm in manpage
Diffstat (limited to 'arithmetic/arithmetic.6')
-rw-r--r--arithmetic/arithmetic.616
1 files changed, 8 insertions, 8 deletions
diff --git a/arithmetic/arithmetic.6 b/arithmetic/arithmetic.6
index 54da170d..b24c4be5 100644
--- a/arithmetic/arithmetic.6
+++ b/arithmetic/arithmetic.6
@@ -1,4 +1,4 @@
-.\" $NetBSD: arithmetic.6,v 1.4 1995/03/21 11:59:31 cgd Exp $
+.\" $NetBSD: arithmetic.6,v 1.5 1997/10/09 23:07:00 lukem Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,11 +43,11 @@
.Nm arithmetic
.Nd quiz on simple arithmetic
.Sh SYNOPSIS
-.Nm arithmetic
+.Nm
.Op Fl o Ar +\-x/
.Op Fl r Ar range
.Sh DESCRIPTION
-.Nm Arithmetic
+.Nm
asks you to solve problems in simple arithmetic.
Each question must be answered correctly before going on to the next.
After every 20 problems, it prints the score so far and the time taken.
@@ -57,7 +57,7 @@ The options are as follows:
.Bl -tag -width indent
.It Fl o
By default,
-.Nm arithmetic
+.Nm
asks questions on addition of numbers from 0 to 10, and corresponding
subtraction.
By supplying one or more of the characters
@@ -70,7 +70,7 @@ will be asked correspondingly more often.
If a
.Ar range
is supplied,
-.Nm arithmetic
+.Nm
selects the numbers in its problems in the following way.
For addition and multiplication, the numbers to be added or multiplied
are between 0 and
@@ -80,19 +80,19 @@ For subtraction and division, both the required result and the number to
divide by or subtract will be between 0 and
.Ar range .
(Of course,
-.Nm arithmetic
+.Nm
will not ask you to divide by 0.) The default
.I range
is 10.
.El
.Pp
When you get a problem wrong,
-.Nm arithmetic
+.Nm
will remember the numbers involved, and will tend to select those numbers
more often than others, in problems of the same sort.
Eventually it will forgive and forget.
.Pp
-.Nm Arithmetic
+.Nm
cannot be persuaded to tell you the right answer.
You must work it out for yourself.
.Sh DIAGNOSTICS