Hello world program

computer program that produces the message "Hello, world!", often used to illustrate the basic syntax of a programming language
(Redirected from Hello world!)

A Hello world program is usually a program made by computer programmers that are new to a programming languages, or to test if the compiler for this language is working correctly. It will simply put the text Hello, World! on the screen. One way to do the Hello World program is shown below, in the C programming language.

#include <stdio.h>

int main()
{
     printf("Hello World");
     return 0;
}

On Python programming language:

print("Hello World")

On Pascal programming language

program helloworld;
begin
     WriteLn('Hello World');
end.

On Lua programming language:

print("Hello World")

On C++ programming language:

#include <iostream>

int main()
{
  std::cout << Hello World << std::endl;
  return 0;
}

On Julia programming language:

println("Hello, World!")

On Go programming language:

package main
import "fmt"

func main() {
    fmt.Println("Hello, World!")
}

On Ruby programming language:

puts "Hello World"

On BASIC programming language:

10 PRINT "Hello World"

Other websitesEdit