1
2
3
4
5
6
7
#include <stdio.h>
int main(void) {
printf("Hello World!\n");
return 0;
}
1
2
3
4
5
6
7
import java.io.*;
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!\n");
}
}
1
console.log("Hello World");
1
print("Hello World!")
1
2
3
4
5
#include <iostream>
int main(void) {
std::cout << "Hello World!" << std::endl;
}
1
echo "Hello World!"