Example: what order could 16 pool balls be in? (Order does matter.)

Variable

Ask for n with default 0
Output

Print text n = number of items per column
Variable

Ask for t with default 0
Output

Print text t = number of columns
Variable

Set x to 0
Variable

Set r to 1
Structure

While x < t
Variable

Set y to n - x
Variable

Set r to r * y
Variable

Set x to x + 1
Structure

End
Output

Print variable r