Skip to content

Hello world

    A003
    hello world
    A "Hello, World!" program is generally a simple computer program which displays a message similar to "Hello, World!" while ignoring any user input. A small piece of code in most general-purpose programming languages, this program is used to illustrate a language's basic syntax. A "Hello, World!" program is often the first written by a student of a new programming language, but such a program can also be used as a sanity check to ensure that the computer software intended to compile or run source code is correctly installed and that its operator understands how to use it.

    Links

    Code Examples

    C#
    //Example 1 Console.WriteLine("Hello, world!"); //Example 2 For code written as C# 8 or lower using System; class Program{ static void Main(){ Console.WriteLine("Hello, world!"); } }
    JavaScript
    alert( 'Hello, world!' );
    Python
    print('Hello, world!')
    PHP
    <?php echo 'Hello World';