Thursday, January 3, 2019

Hello World ( First Programming Language ) !!

Code Source For Hello World Program

Click the buttons in the tabbed list that indicate the language you're looking for:

Hello World Program!!

// helloworld c++
F:\blogspot\Code Source\HelloWorld\main.cpp
 1 #include <iostream>
 2  
 3  using namespace std;
 4  
 5  int main()
 6  {
 7      cout << "Hello world!" << endl;
 8      return 0;
 9  }

Hello World Program!!

// helloworld c
F:\blogspot\Code Source\HelloWorldc\main.c
 1 #include <stdio.h>
 2  #include <stdlib.h>
 3  // main function where the execution of program begins
 4  int main()
 5  {
 6      // we use printf to print the text between "" in the screen
 7      // we use \n to return to the next line
 8      printf("Hello world!\n");
 9      return 0;
10  }

Hello World Program!!

// helloworld java
F:\blogspot\Code Source\Hello worldjava\Main.java
1 public class Main
2  {
3      // main function where the execution of program begins
4      public static void main(String args[])
5      {
6          System.out.println("Hello World ^_^");
7      }
8  }

"Never Hesitate To Share Your Knowledge With The World".


EmojiEmoji