DIFFERENT PROGRAMMING LANGUAGES >> Hello, World

in #programming7 years ago (edited)

1. C

#include 

 

int main()

{

    printf("Hello, World");

   return(0);

}

 

2. C++

#include 

 

int main()

{

    std::cout << "Hello, World";

    return 0;

}

 

3. C#

using System;

class Program

{

    public static void Main(string[] args)

    {

        Console.WriteLine("Hello, World");

    }

}

 

4. BASH

echo "Hello, World"

 

5. BASIC

PRINT "Hello, World"

 

6. HTML

 Hello, World

 

7. JAVA

public class Main {

   public static void main(String[] args) {

       System.out.println("Hello, World!");

   }

}

 

8. JAVASCRIPT

document.write('Hello, World');

 

9. LOGO

print [Hello, World]

 

10. JQUERY

$("body").append("Hello, World");

 

11. PERL 5

print "Hello, World";

 

12. PASCAL

program HelloWorld;

begin

  WriteLn('Hello, World');

end.

 

13. R

cat('Hello, World')

 

14. RUBY

puts "Hello, World"

 

15. SWIFT

print("Hello, World")

 

16. PYTHON

print ("Hello, World")
Sort:  

Haha awesome! I've just done a post about my coding experiences; I like this list, I haven't heard of a couple of them, like BASH.

I'm soon to start learning Python, I'm just getting my head around html/css, which by the way I would say the html should look like this:

<div class=row>
    <p>Hello World</p>

Lolz :-)

EDIT: I also had a section class in there, but the Steemit editor asked me to remove it! :-)

Cg

Tnx for upvote. I think html.css, Javascript and python is very good programming language

Yes I like them all; I need to brush up on Javascript and learn Python :-)

Cg

Coin Marketplace

STEEM 0.20
TRX 0.15
JST 0.030
BTC 65769.61
ETH 2674.27
USDT 1.00
SBD 2.86