Welcome to my site. Please CLICK HERE to give your opinions regarding this new look of "PCTipsbyAnu". Thanks for visiting.

Monday, November 8, 2010

Browse » Home » , , , , , , , , , , » 'Hello World' in 10 programming languages

'Hello World' in 10 programming languages



Before you start learning any programming language, you must knowthat how much important and popular the programming language is thatyou are going to learn.Because, learning itself is never a bad thing,we always motivate you to learn any new thing everyday. If yourlearning plan is in a managed and well planned way then you’ll nevereat mud in the mid way.

Most of the programming language have same methodology and almostsimilar to each other. If you learn PHP you can easily understand C andvice versa and same with others, because they are totally related toeach other.
 









"Hello World" Programs for top 10 programming language
One ofthe first programs that one usually writes when learning the firstprogramming language is "Hello World". Today we’ll show you the top tenprogramming language you must learn in your life to get never endingcareer in Computer Programming. We’ll also show you the first program"Hello World" to begin with.

PHP

<?php
// Hello World in PHP
echo 'Hello World!';
?>

C#

//Hello World in C#
class HelloWorld
{
static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}

JavaScript

<html>
<body>
<script language="JavaScript" type="text/javascript">
// Hello World in JavaScript
document.write('Hello World');
</script>
</body>
</html>

Perl

# Hello world in perl
print "Hello World!\n";

C

/* Hello World in C */
#include <stdio.h>
main()
{
printf ("Hello World!\n");
}

Ruby

# Hello World in Ruby
puts "Hello World!"

Java

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

Python

# Hello World in Python
print "Hello World"

VisualBasic.NET

'Hello World in Visual Basic .NET (VB.NET)
Imports System.Console
Class HelloWorld
Public Shared Sub Main()
WriteLine("Hello, world!")
End Sub
End Class
These were only the introduction, you can see how they are common toeach other just to print "hello World" in your program window.Subscribe Hackspc.com to learn such programming languages.


 









 









Enjoy programming n hacking... 
You can leave a response, or trackback from your own site.

About 'Anu': My name is 'Anu' also Known as 'ANU 007 TIGER' .I'm administrator of 'PC Tips by Anu' blog .This blog was opened for sharing contents about hacking n cracking.
Thanks YAHOO OR GMAIL

2 comments:

Maximus said...

very simple n specially for begginers..
provide some complex programming tut

Code Mobile said...

Its not 4 u Mr. M, its only 4 begg.

Post a Comment

 
Back to Top