Files
cheatsheet-tldr/tldr/linux/arithmetic
2024-09-19 00:16:36 +00:00

22 lines
596 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# arithmetic
> Quiz on simple arithmetic problems.
> More information: <https://manned.org/arithmetic.6>.
- 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}}`