Print 1 to 100 without using a loop
Filed under Kongsberg
The question
Write a code snippet to print numbers from 1 to 100 without using any loops, typically using recursion.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.