Skip to content

Rylazius/helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

helloworld

Hello, World! In different language

js

console.log("Hello, world!")

command prompt/batch file

@echo off
echo Hello, world!

python

print("Hello, world!")

lua

print("Hello, world!")

cpp

#include<iostream>

using namespace std;

int main() {
    cout << "Hello, world!!";
    return 0;
}

c

#include<stdio.h>

int main() {
    printf("Hello Codelearn");
    return 0;
}

pascal

program HelloFreetuts;
begin
  writeln ('Welcome to freetuts.net');
end.

x86 asm

    org  0x100

    mov  dx, msg
    mov  ah, 9
    int  0x21

    mov  ah, 0x4c
    int  0x21

    msg  db 'Hello, World!', 0x0d, 0x0a, '$'

java

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

kotlin

fun main(args : Array<String>) {
    println("Hello, World!")
}

ruby

puts "Hello, World!"

golang

package main

import "fmt"

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

php

 <!DOCTYPE html>
<html>
<body>

<h1>header</h1>

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

</body>
</html>

sql

CREATE TABLE helloworld (phrase TEXT);
INSERT INTO helloworld VALUES ("Hello, World!");
SELECT * FROM helloworld WHERE phrase = "Hello, World!";
``` tui bi ngu sql
perl
```perl
use strict;
use warnings;
  
print("Hello World\n"); # hello world bonnus new line

Objective-C

#import <Foundation/Foundation.h>

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        NSLog(@"Hello, World!");
    }
    return 0;
}

c#

using System;

namespace HelloWorld {
    class Program {
        static void Main(string[] args) {
            Console.WriteLine("Hello, World!");
        }
    }
}

A Sharp (.NET)

with Ada.Text_IO;
use Ada.Text_IO;
procedure Hello_Dotnet is
begin
 Put_Line(Item => “Hello .NET world!”);
end Hello_Dotnet;

About

Hello, World! In different language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published