// guess the programming language of the day

$ whois cobol

COBOL

first released in 1959 · by Howard Bromberg, Norman Discount, Vernon Reeves, Jean E. Sammet, William Selden, Gertrude Tierney

$ guessprog --inspect cobol

year
1959
paradigm
procedural
family
cobol
memory
none
binding
static
safety
weak

COBOL(7)

AUTHORS
Howard Bromberg, Norman Discount, Vernon Reeves, Jean E. Sammet, William Selden, Gertrude Tierney
HISTORY
COBOL, the "Common Business-Oriented Language", was designed in 1959 by a committee of the CODASYL consortium, brought together with backing from the US Department of Defense to create a portable language for business data processing. It drew heavily on Grace Hopper's FLOW-MATIC and IBM's COMTRAN, and its English-like syntax was meant to be readable by managers as well as programmers. During the COVID-19 pandemic in 2020, several US states made public appeals for COBOL programmers to keep their unemployment benefit systems running.
USAGE
A legacy language that still runs a large share of the world's banking, insurance and government transaction processing on mainframes. Few new projects start in it, and experienced COBOL developers are increasingly in demand as they retire.
SEE ALSO
COBOL on Wikipedia ↗
$ cat INTEREST.cbl
IDENTIFICATION DIVISION.
       PROGRAM-ID. INTEREST.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01 PRINCIPAL     PIC 9(7)V99 VALUE 1000.00.
       01 RATE          PIC V999    VALUE .035.
       01 BALANCE       PIC 9(9)V99.
       01 BALANCE-OUT   PIC $$$,$$$,$$9.99.
       PROCEDURE DIVISION.
           COMPUTE BALANCE ROUNDED =
               PRINCIPAL * (1 + RATE) ** 10
           MOVE BALANCE TO BALANCE-OUT
           DISPLAY "After 10 years: " BALANCE-OUT
           STOP RUN.