LoginSignup
0
0

#1 はじめに

メリークリスマス!!←早くない??
いかがお過ごしでしょうか!!
僕はめちゃくちゃ元気ですよーー!!←風邪引いてます
:santa:{今日はみんなにささやかなプレゼントを贈るよ!!)
今回は主要な言語のHelloWorldの例についてまとめてみました。

#2 さっそく見てみよう

C

helloworld.c
#include <stdio.h>
int main(void)
{
	printf("HelloWorld\n");
	return 0;
}

Python

helloworld.py
print("HelloWorld")

Java

helloworld.java
public class Main {
    public static void main(String[] args) {
        System.out.println("HelloWorld");
    }
}

Javascript

helloworld.js
console.log("HelloWorld")

PHP

helloworld.php
<?php
    echo "Hello World!";
?>

#3 さいごに

今回は主要な言語のHelloWorldをまとめてみました。
この記事が皆さんの助けになれば幸いです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0