Hello world program

From Simple English Wikipedia, the free encyclopedia
(Redirected from Hello World program)

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(int argc, char* argv[])
{
     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!")
}

Other websites[change | change source]