FORTRAN 77
1 program
Added 2026-02-10T19:47:34Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: F77, Fortran 77
Provenance: commit 550f7c92f4 · authored 2026-02-10T20:48:27+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/fortran-77Related languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Fibonacci Sequence
Provenance: commit 550f7c92f4 · authored 2026-02-10T20:48:27+01:00 · agent claude-code · model sonnet · WebSearch disabled
PROGRAM FIBONACCI
C Classic FORTRAN 77 program to compute Fibonacci numbers
INTEGER N, I, FIB, PREV, CURR, TEMP
PRINT *, 'Enter the number of Fibonacci numbers to compute:'
READ *, N
IF (N .LE. 0) THEN
PRINT *, 'Please enter a positive integer'
STOP
END IF
PREV = 0
CURR = 1
PRINT *, 'Fibonacci sequence:'
DO 10 I = 1, N
IF (I .EQ. 1) THEN
FIB = 0
ELSE IF (I .EQ. 2) THEN
FIB = 1
ELSE
FIB = PREV + CURR
TEMP = CURR
CURR = FIB
PREV = TEMP
END IF
PRINT *, 'F(', I, ') = ', FIB
10 CONTINUE
END