HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

arithmetic — Quiz on simple arithmetic problems. More information: <https://manned.org/arithmetic>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simplecommandarithmeticclimoreproblemsquiz
linux

Problem

How to use the arithmetic command: Quiz on simple arithmetic problems. More information: <https://manned.org/arithmetic>.

Solution

arithmetic — Quiz on simple arithmetic problems. More information: <https://manned.org/arithmetic>.

Start an arithmetic quiz:
arithmetic


Specify one or more arithmetic [o]peration symbols to get problems on them:
arithmetic -o {{+|-|x|/}}


Specify a [r]ange. Addition and multiplication problems would feature numbers between 0 and range, inclusive. Subtraction and division problems would have required result and number to be operated on, between 0 and range:
arithmetic -r {{7}}

Code Snippets

Start an arithmetic quiz

arithmetic

Specify one or more arithmetic [o]peration symbols to get problems on them

arithmetic -o {{+|-|x|/}}

Specify a [r]ange. Addition and multiplication problems would feature numbers between 0 and range, inclusive. Subtraction and division problems would have required result and number to be operated on, between 0 and range

arithmetic -r {{7}}

Context

tldr-pages: linux/arithmetic

Revisions (0)

No revisions yet.