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.
Leave a Reply