Nov 05

The traditional first example in any programming language is the “Hello world!” program.

A “Hello World” program is a computer program that prints out “Hello world!” on a display device. A “hello world” program has become the traditional first program that many people learn.

       IDENTIFICATION DIVISION.
       PROGRAM-ID.  HELLO.
       AUTHOR.      MAKIKI.
       ENVIRONMENT DIVISION.
       DATA DIVISION.
       PROCEDURE DIVISION.
       MAINLINE.
           DISPLAY 'Hello world!'.
           STOP RUN.

This program simply prints out the message “Hello world!”

Source Code

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • Twitter

Related posts:

  1. COBOL Enviroment Division
  2. COBOL Identification Division
  3. WPF (Hello World Application)
  4. Silverlight (Creating Hello World)
  5. Source Code Format COBOL

Leave a Reply