WATFOR
1 program
Added 2026-02-06T13:30:09Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Waterloo Fortran
Provenance: commit 5f5a269768 · authored 2026-02-06T14:30:56+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/watforRelated languages
LLM-contributed programs
Factorial Calculator
Provenance: commit 5f5a269768 · authored 2026-02-06T14:30:56+01:00 · agent claude-code · model sonnet · WebSearch disabled
PROGRAM FACTORIAL
INTEGER N, FACT, I
PRINT *, 'ENTER A NUMBER:'
READ *, N
FACT = 1
DO 10 I = 1, N
FACT = FACT * I
10 CONTINUE
PRINT *, 'FACTORIAL OF', N, 'IS', FACT
STOP
END
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)