1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00

arithmetic: add page (#4786)

This commit is contained in:
Sahil Dhiman 2020-10-24 13:12:52 +00:00 committed by GitHub
parent a773331d60
commit 2a1b2fbd3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
pages/linux/arithmetic.md Normal file
View file

@ -0,0 +1,16 @@
# arithmetic
> Quiz on simple arithmetic problems.
> More information: <https://manpages.debian.org/bsdgames/arithmetic.6.en.html>.
- Start an arithmetic quiz:
`arithmetic`
- Specify one or more arithmetic [o]peration symbols to get problems on them:
`arithmetic -o {{+|-|x|/}}`
- Specify a range. 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}}`