Skip to content

Harshil783/Hello_World-In-Different-Languages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Hello_World-In-Different-Languages

Hey! People This is A Repository On A Github Used To Describe Hello World In Different Programming Languages

Bash

echo "Hello World!"

Basic

PRINT "Hello World!"

C

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

C++

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

C Sharp

using System;
class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello, world!");
    }
}

Clipper

? "Hello World"

CoffeeScript

console.log 'Hello, world!

Delphi

program HelloWorld;
begin
  Writeln('Hello, world!');
end.

HTML

 <html>
 <head>
 </head>
 <body>
<h1>Hello World<h1>
</body>
</html>

Java

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

JavaScript

document.write('Hello, world!');

JQuery

$("body").append("Hello world!");

Julia

println("Hello world!")

Logo

print [Hello, world!]

MatLab

disp('Hello, world!')

Objective-C

#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
    @autoreleasepool {
        // insert code here...
        NSLog(@"Hello, World!");
    }
    return 0;
}

Pascal

program HelloWorld;
begin
  WriteLn('Hello, world!');
end.

Perl 5

print "Hello, world!";

PHP

<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>
</html>

Processing

void setup(){
  println("Hello, world!");
}

R

cat('Hello, world!')

Ruby

puts "Hello, world!"

Swift

println("Hello World!")

VB Script

MsgBox "Hello, World!"

Visual Basic .NET

Module Module1
    Sub Main()
        Console.WriteLine("Hello, world!")
    End Sub
End Module

XSLT

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:template match="/hello-world">
    <HTML>
      <HEAD>
        <TITLE></TITLE>
      </HEAD>
      <BODY>
        <H1>
          <xsl:value-of select="greeting"/>
        </H1>
        <xsl:apply-templates select="greeter"/>
      </BODY>
    </HTML>
  </xsl:template>
  <xsl:template match="greeter">
    <DIV>from <I><xsl:value-of select="."/></I></DIV>
  </xsl:template>
</xsl:stylesheet>

XML

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="hello.xsl"?>
<hello-world>   <greeter>An XSLT Programmer</greeter>   <greeting>Hello, World!</greeting></hello-world>

Contribute

Hey! Friends To Contribute

Please Add Some New Hello World Examples In Different Languages

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published