4.18.2016

How to write 'Hello World' in different programming languages






It is quite interesting to learn one or more programming languages in order to beable to write your own scripts, softwares and more, but before you venture into learning any of the programming languages, you must somewhat consider how much important and popular the programming language is that you are about learning in order to have a wider market for your softwares if you would later go into full time software development.


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.

This is the usual norm observed while learning any programming language. One of the first programs that one usually writes when learning their first programming language is “Hello World”. In this post, i’ll show you how to output that sumple text in the top ten programming languages. This is very useful if you wish to excel in your computer programming career. You sure won’t regret checking out this post, it really is great. Let me start out the tutorials, please read carefullyas this post is made easy to understand.

Related: Explain how a programmer thinks to a non-programmer

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>
< 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

If you successfully performed the programming practice, you must have seen the Hello Word outputed for your in your programming window screen, and I hope you now see how this different programming languages are related to each other.

If this post was really helpful to you, you can share this post with friends and also subscribe to our feeds with the form below.

Wow, you are now on your way to becoming one of the best programmers.





5 comments:

  1. Thanks for your marvelous posting! I genuinely enjoyed reading it, you will be a great
    author.I will be sure to bookmark your blog and may come back in the
    foreseeable future. I want to encourage that you continue your great writing, have
    a nice morning!

    ReplyDelete
  2. Spot on with this write-up, I seriously feel this site needs a great deal more attention. I'll probably be back again to read through more,
    thanks for the info!

    ReplyDelete
  3. I need to to thank you for this wonderful read!! I definitely loved every bit of it.
    I have got you saved as a favorite to check out
    new things you post…

    ReplyDelete
  4. A Clever Way to seek out Absolutely free Adult Chat Rooms!


    Chatting over the internet is hugely popular. The problem is there are hardly any free adult chat rooms where we
    can easily discuss adult topics. Due to their popularity, site owners increasingly decide to charge for the service.
    In this article, become familiar with the best way to locate fairly
    easily numerous these chat communities, many of which are entirely free.

    It has become hard to find good places for adults to talk. Most
    of this can be due to spread of instant messengers, virtual worlds,
    and social support systems. The few good chat sites available are generally full or,
    worse still, full and intent on asking you to pay a regular membership fee.
    To most folks, it seems like the days of proper, fun, lively free places for
    adults to have adult chat are gone. Thankfully, there's a good clever
    method for us to still find good rooms.
    All with the big dating communities offer their members free adult forums.

    Now, I'm sure you might be thinking, "Yes, and the internet dating sites also ask you for a regular membership because of these free rooms!" This is not always true.

    Many such chat communities are free, others are free but have limited features for that non-paying members, and others still give
    a cost-free service for girls.
    The appeal of joining a substantial, well-known dating community is you get given access to a massive adult chatting community containing hundreds,
    sometimes thousands of people utilizing it at a single time.
    Better yet, their rooms have a tendency to offer users the opportunity to hook in their webcams.
    So you may be chatting away in a very room and have the opportunity
    to select an account and view them on his or her webcam, too!


    Free Adult Chat Rooms : http://tinyurl.com/ycszpfq5

    ReplyDelete
  5. Hi there, just wanted to tell you, I loved this post.
    It was funny. Keep on posting!

    ReplyDelete