diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:43:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:43:11 +0000 |
commit | fc22b3d6507c6745911b9dfcc68f1e665ae13dbc (patch) | |
tree | ce1e3bce06471410239a6f41282e328770aa404a /upstream/archlinux/man6/arithmetic.6 | |
parent | Initial commit. (diff) | |
download | manpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.tar.xz manpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.zip |
Adding upstream version 4.22.0.upstream/4.22.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/archlinux/man6/arithmetic.6')
-rw-r--r-- | upstream/archlinux/man6/arithmetic.6 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/upstream/archlinux/man6/arithmetic.6 b/upstream/archlinux/man6/arithmetic.6 new file mode 100644 index 00000000..b4b0fdcb --- /dev/null +++ b/upstream/archlinux/man6/arithmetic.6 @@ -0,0 +1,44 @@ +.\" This file is free software, distributed under the BSD license. +.Dd May 31, 1993 +.Dt ARITHMETIC 6 +.Os +.Sh NAME +.Nm arithmetic +.Nd quiz on simple arithmetic +.Sh SYNOPSIS +.Nm +.Op Fl o Ar +\-x/ +.Op Fl r Ar range +.Sh DESCRIPTION +.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. You can quit at any time +by entering 'q'. +.Pp +The options are as follows: +.Bl -tag -width indent +.It Fl o +By default, +.Nm +asks questions on addition of numbers from 0 to 10, and corresponding +subtraction. By supplying one or more of the characters +.Ar +\-x/ , +you can ask for problems in addition, subtraction, multiplication, and +division, respectively. If you give one of these characters more than +once, that kind of problem will be asked correspondingly more often. +.It Fl r +If a +.Ar range +is supplied, +.Nm +selects the numbers in its problems in the following way. For addition +and multiplication, the numbers to be added or multiplied are from 1 to +.Ar range. +For subtraction and division, both the required result and the number +to divide by or subtract will be from 1 to +.Ar range. +The default +.I range +is 10. +.El |