subscribe to the RSS Feed


 

“Hello, world”

Hello, world

An example of the “Hello, world” program in COBOL:

      IDENTIFICATION DIVISION.
      PROGRAM-ID. HELLO-WORLD.
      PROCEDURE DIVISION.
      MAIN.
          DISPLAY 'Hello, world.'.
          STOP RUN.
Close
E-mail It