28 August 2014

Getting Started

Hello World Programs in Various languages 

Java :

public class HelloWorld {

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

}



*********************************************************************************************************

C : 

//C hello world example
#include <stdio.h>
 
int main() {

  printf("Hello world\n");
  return 0;
}

****************************************************************************

Python :

Print "Hello World"

***************************************************************************

Php :

<?php
  Print "Hello World! ";
?>

***************************************************************************

C++ :
#include<iostream.h>
int main() {
std::cout << "Hello World!" << std::end1;
return 0;
}

***************************************************************************

Now When you have the programs ready , whats the next step ? -- just Compile and run it . For this you need softwares of that particular programming
languages to be installed in your system. 

To make it convinient for you there is other way you can compile and run without installing any softwares . All you need is an Internet Connection .

If you do have , then goto http://www.compileonline.com/ 
Select the language you want to code on and write and execute your program . your task is done .

But If you want to install the softwares into your system , then go through the next post that is how to install and run programs .



@EnjoyLearning



No comments:

Post a Comment

Post a Comment