Run COBOL online — GnuCOBOL 3, browser-hosted, no mainframe required.
COBOL runs more of the world's financial infrastructure than any developer under 40 would guess. The maintenance market is huge, the training market is tiny, and the language is legitimately interesting once you get past the columns.
ls-judge runs GnuCOBOL 3, a modern free COBOL compiler that reads standard OpenCOBOL/COBOL-85 sources and produces native binaries. Each submission compiles and runs inside its own microVM.
Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.
IDENTIFICATION DIVISION.
PROGRAM-ID. solution.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 N PIC 9(9).
01 R PIC 9(9).
PROCEDURE DIVISION.
ACCEPT N
COMPUTE R = N * 2
DISPLAY R
STOP RUN.
21
000000042