Files
pplus-library/pseudo/programs/34-stops-depth.pseudo
T
2026-10-06 09:57:04 -04:00

7 lines
160 B
Plaintext

// A run that stops: recursion with no base case.
// STOPS: depth
FUNCTION DOWN(N : INTEGER) RETURNS INTEGER
RETURN DOWN(N - 1)
ENDFUNCTION
OUTPUT DOWN(10)