4433: Programmeertaal Cobol

PROCEDURE DIVISION.
       MAIN-PARA.
           DISPLAY " ----------------------- ".
           DISPLAY " ENTER A ".
           ACCEPT A.
           DISPLAY " ENTER B ".
           ACCEPT B.
           DISPLAY " ----------------------- ".

       ADD-PARA.
           ADD A B GIVING ANS. 
           DISPLAY " ----------------------- ".

       DISP-PARA.
           DISPLAY "A IS " A.
           DISPLAY "B IS " B.
           DISPLAY "ADDITION =" ANS.
           STOP RUN.

De programmeertaal Cobol is al vroeg ontwikkeld om administratieve toepassingen te programmeren voor de financiƫle wereld. De taal is berucht om de grote hoeveelheid typewerk dat nodig is voor het schrijven van een complete toepassing.