/Hello-World

Hello World! in different programming languages

Primary LanguageBrainfuck

Hello World!

Hello World! in different programming languages


Python

print('Hello World!') 

C

#include <stdio.h>
int main() {
    printf("Hello World!");
    return 0;
}

C++

#include <iostream>
using namespace std;
int main()
{
    cout << "Hello World!";
    return 0;
}

C#

using System.IO;
using System;

class Program
{
    static void Main()
    {
        Console.WriteLine("Hello World!");
    }
}

Java

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

JavaScript

console.log('Hello World!');

Go

package main

import "fmt"

func main() {
	fmt.Println("Hello World!")
}

Rust

fn main() {
    println!("Hello World!");
}

Dart

void main(){
    print("Hello World!");
}

Ruby

puts "Hello World!";

BrainF*ck

>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.>++++++++++.

Lua

print("Hello World!")

Julia

println("Hello World!")

Swift

print("Hello World!")

Perl

print "Hello World!";