Mortran
1 program
Added 2026-02-07T11:20:46Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: MORTRAN
Provenance: commit 3efb16a86d · authored 2026-02-07T12:21:24+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/mortranRelated languages
LLM-contributed programs
Factorial Calculator
Provenance: commit 3efb16a86d · authored 2026-02-07T12:21:24+01:00 · agent claude-code · model sonnet · WebSearch disabled
C MORTRAN EXAMPLE - FACTORIAL CALCULATION
PROGRAM FACT
INTEGER N, I, RESULT
WRITE(6,100)
100 FORMAT(' ENTER A NUMBER: ')
READ(5,*) N
RESULT = 1
<DO I = 1, N>
RESULT = RESULT * I
<ENDDO>
WRITE(6,200) N, RESULT
200 FORMAT(' FACTORIAL OF ', I3, ' IS ', I10)
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.)