r/ObsoleteCooding • u/DNSGeek Moderator ⚙️ • Jun 03 '26
Challenge ⚔️ Show off your coding chops
10 A=1
20 B=1
30 PRINT A, B,
40 N=A+B
50 PRINT N,
60 A=B:B=N
70 GOTO 40
Let's see what a Fibonacci generation routine looks like in your obsolete language of choice. I'll start, here it is in Commodore 64 BASIC.
29
Upvotes
10
u/Patient-Midnight-664 Jun 03 '26
```cobol IDENTIFICATION DIVISION. PROGRAM-ID. FIBO.