Hello World Program in Different languages

The first and very simple program in any programming language is the “Hello World” programHello World program is the first step for learning any programming language.  This post will teach you the Hello World Program in a different Programming language.

Hello World Program in Python

# This prints Hello World on the output screen 
print('!HELLO WORLD!')

Output:

!HELLO WORLD!

 

Hello World Program in JAVA

 # This prints Hello World on the output screen 
class HelloWorld {
      public static void main(String[] args) {
          System.out.println("!HELLO WORLD!"); 
      }
}

Output:

!HELLO WORLD!

Hello World Program in R

print("!Hello World!") 

Output:

!Hello World!

Hello World Program in C

#include <stdio.h>

int main() {
   printf("!Hello World!");
   return 0;
}

Output: 

!Hello World!