tldr/pages/linux/arithmetic.md

17 lines
530 B
Markdown
Raw Permalink Normal View History

2020-10-24 14:12:52 +01:00
# 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}}`