Update
This commit is contained in:
parent
481775ca4b
commit
5e0ba22bba
10 changed files with 1877 additions and 1871 deletions
|
@ -31,7 +31,7 @@ Let's write a simple algorithm that counts the number of divisors of given numbe
|
|||
5. Write out the *divisor counter*.
|
||||
6. If *divisor counter* is equal to 2, write out the number is a prime.
|
||||
|
||||
Notice that *x*, *divisor counter* and *currently checked number* are [variables](variable.md). Step 4 is a loop (iteration) and steps *a* and 6 are branches (selection). The flowchart of this algorithm is:
|
||||
Notice that *x*, *divisor counter* and *currently checked number* are [variables](variable.md). Step 4 is a loop (iteration) and steps *a* and 6 are branches (selection). The [flowchart](flowchart.md) of this algorithm is:
|
||||
|
||||
```
|
||||
START
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue