Hello world.
C
#include <stdio.h>
int main(void) {
printf("Hello World!");
}
C++
#include <iostream>
int main(void) {
std::cout<<"Hello World!";
}
Java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
PHP
<?php
echo "Hello World!";
?>
Ruby
puts "Hello World!"
Go
package main
import "fmt"
func main(){
fmt.Printf("Hello World!\n God Bless You!");
}
JS
console.log("Hello World!");