Stair-climbing puzzle: Difference between revisions
Content deleted Content added
→{{header|J}}: Add recursive |
No edit summary |
||
Line 17:
{
for (int i = 0; i < 1; step()? ++i : --i);
}
</lang>
=={{header|C sharp|C#}}==
<lang csharp>
void step_up() {
for (; step() == false; );
}
</lang>
|