Help us understand the problem. What is going on with this article?

各種言語別 Hello World!出力一覧  (適時更新予定)

More than 1 year has passed since last update.
python3.x系の場合:

print("Hello World!")
_____________________
python2.x系の場合:

print "Hello World!"
_____________________
javaの場合:

import java.util.*;

public class Main{
    public static void main(String[] args) throws Exception {
        System.out.println("Hello World!");
    }
}
_____________________
PHPの場合:

<?php
echo "Hello World!";

?>
_____________________
Rubyの場合:

puts "Hello World!";

または

print "Hello World!";

_____________________
Goの場合:

package main
import "fmt"
func main(){

    fmt.Println("Hello World!")
}

_____________________
javascriptの場合:

process.stdin.resume();
process.stdin.setEncoding('utf8');

var hello = "Hello World!";
console.log(hello);

または
console.log("Hello World!");
_____________________
C#の場合:

public class Hello{
    public static void Main(){

        System.Console.WriteLine("Hello World!");
    }
}

_____________________
Swiftの場合:

print("Hello World!")

_____________________
Rの場合:

cat("Hello World!")

_____________________
Cの場合:

#include <stdio.h>
int main(void){

        printf("Hello World!");
}
_____________________
C#の場合:

public class Hello{
    public static void Main(){

        System.Console.WriteLine("Hello World!");
    }
}
_____________________
C++の場合:

#include <iostream>
using namespace std;
int main(void){

    printf("Hello World!");

    return 0;
}
_____________________
luaの場合:

print("Hello World!")
_____________________
Cobolの場合:

IDENTIFICATION DIVISION.
program-id. Hello.
procedure division.

display "Hello World!".
_____________________
Elixirの場合:

IO.puts "Hello World!"

_____________________
Haskellの場合:

main = putStrLn "Hello World!"

_____________________




Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away