Stair-climbing puzzle: Difference between revisions
Content added Content deleted
(→{{header|AutoHotkey}}: small obvious correction, plus whitespace fix) |
|||
Line 109: | Line 109: | ||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |
||
Recursive solution: |
Recursive solution: |
||
<lang AutoHotkey> |
<lang AutoHotkey>step_up() |
||
step_up() |
|||
{ |
{ |
||
While !step() |
While !step() |
||
step_up() |
|||
⚫ | |||
} |
|||
⚫ | |||
=={{header|C}}== |
=={{header|C}}== |