1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/arithmetic.md

17 lines
537 B
Markdown
Raw Normal View History

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