tldr/pages/linux/arithmetic.md

17 lines
537 B
Markdown
Raw Normal View History

2020-10-24 14:12:52 +01:00
# arithmetic
> Quiz on simple arithmetic problems.
> More information: <https://manpages.debian.org/latest/bsdgames/arithmetic.6.en.html>.
2020-10-24 14:12:52 +01:00
- 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}}`