Shareittips.com

Computer & IT Tips By Akash Padhiyar

Mar
26

Hello World in 10 Programming Language

Posted by Akash Padhiyar 0 Comment

Hello World in 10 Programming Language 

1.) C (ANSI)

#include

/* Hello */
int main(void)
{
printf("Hello, World!");
return 0;
}


 

2.) C#

using System;
class HelloWorld
{
static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}

 

3.) C++ (ISO)

#include

int main()
{
std::cout << "Hello, World!\n";
}

 

4.)Html

Hello, World!</pre>

5.) Java

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

}

6.) Ms-Dos batch

The @ symbol is optional and prevents the system from displaying the command before executing it.

@echo Hello, World!


7.)PHP

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

8 ) Python

$ vim helloworld.py

#!/usr/bin/python

# Hello world python program

print "Hello World!";

9.) ShellScript

echo "Hello World"

10.) Visual Basic .Net



Private Sub frmForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

MessageBox.Show("Hello World!", "HELLO WORLD")

End Sub

If You Know Then Comment It.

Popular Programming Languages In IT Field

Akash Padhiyar

I am Akash Padhiyar Founder of Shareittips.com,BCA MCA Tutor ,Running Web development compnay "AkashInfoTech".

More Posts - Website - Facebook

Share
Categories: C Language, HTML, Other Stuffs

Leave a Reply


Google Search

Popular Posts

bigrock-promocode

Bigrock Hosting Prom

Bigrock Hosting PromoCode October 2016 HOSTING FEST! Flat 40% Off! Festivities ...

bigrock-promocode

DotCom Domain Name a

DotCom Domain Name at Rs.99 Bigrock .Com Promocode end date for ...

Web Designer vs Web

This Infographic explain you what is role of Web Designer and ...

Sponsors