Hello World Program

   IDENTIFICATION DIVISION.
   PROGRAM-ID. HELLO-WORLD.
   PROCEDURE DIVISION.
   DISPLAY "HELLO, WORLD!".
   STOP RUN.</code></pre>

Explanation:

IDENTIFICATION DIVISION → declares the program name.

PROGRAM-ID → the name of the program (HELLO-WORLD).

PROCEDURE DIVISION → instructions.

DISPLAY → prints output on screen.

STOP RUN → ends the program.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *