Before you start learning any programming language, you must know that how much important andpopular the programming language is that you are going to learn.Because, learning itself is never a bad thing, we always motivate you to learn any new thing everyday. If your learning plan is in a managed and well planned way then you’ll never eat mud in the mid way.
Most of the programming language have same methodology and almost similar to each other. If you learn PHP you can easily understand C and vice versa and same with others, because they are totally related to each other.
"Hello World" Programs for top 10 programming language
One of the first programs that one usually writes when learning the first programming language is "Hello World". Today we’ll show you the top ten programming language you must learn in your life to get never ending career 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 to each other just to print "hello World" in your program window. Subscribe Hackspc.com to learn such programming languages.
}
Subscribe to:
Post Comments (Atom)
Top 9 Simple Things Every Computer User Should Know How to Do
10. We all know we should back up our computers, but it’s always one of those things that you’ll set up “one day”. Setting up a ba...
-
Hello Frnds How are you???? Do you like our post plz leave a comment below... Todays i have two free sports game for free.. so download and ...
-
Windows Live Writer’s future is uncertain at best. Microsoft recently announced the end of theWindows Live brand, and Windows Live Writer wa...
No comments:
Post a Comment