The first program that every developer in computer science needs to know is the emblematic “Hello world”. This program only return’s a String with “Hello World".

Then I will show you, the different “Hello World’s” that I already learned:


Haskell
olamundo :: IO()
olamundo = putStr "Hello World"

Java
public class Hello {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}

Mips
hello_msg: .asciiz "Hello World!\n";
.text

main:
la $a0, hello_msg
li $v0, 4
syscall

li $v0, 10
syscall

C
#include

main(){
printf ("Hello World!\n");
}

Prolog
hello_world :- write('Hello World!').

Pascal
Program Hello World;
Uses crt;

Begin
Writeln('Hello World!');
End.

Visual Basic
MsgBox("Hello World!")