LEARN NEW THINGS ABOUT TECHNICAL AND FOR UPDATE SUPPORT

Saturday, 4 March 2017

How to Write “Hello World” Program in 26 Different Programming Languages

How to Write “Hello World” Program in 26 Different Programming Languages 

Hello and welcome everyone to TECH-ERA. In today’s post we are going to discuss on “How to Write “Hello World” Program in 26 Different Programming Languages”, Yes you heard it right in this article we will show you how to print Hello World program in 26 different Programming Languages from legendary C program to Python we have most of the programming language in our List.

Lets start...


Do ask your queries in the comment box and we will try to solve it asap. Comments and suggestions are always welcomed.

1. C

#include
int main()
{
printf(“Hello, World”);
return(0);
}

2. C++

#include
int main()
{
std::cout << “Hello, World”;
return 0;
}

3. C#

using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine(“Hello, World”);
}
}

4. BASH

echo “Hello, World”

5. BASIC

PRINT “Hello, World”

6. HTML

Hello, World

7. JAVA

public class Main
{
public static void main(String[] args)
{
System.out.println(“Hello, World!”);
}
}

8. CLIPPER

? “Hello, World”

9. DELPHI

program HelloWorld;
begin
Writeln(‘Hello, World’);
end.

10. COFFEESCRIPT

console.log ‘Hello, World’

11. MATLAB

disp(‘Hello, World’)

12. JULIA

println(“Hello, World”)

13. JAVASCRIPT

document.write(‘Hello, World’);

14. LOGO

print [Hello, World]

15. JQUERY

$(“body”).append(“Hello, World”);

16. PERL 5

print “Hello, World”;

17. PASCAL

program HelloWorld;
begin
WriteLn(‘Hello, World’);
end.

18. OBJECTIVE-C

#import
#import
int main(void)
{
NSLog(@”Hello, World”);
return 0;
}

19. VISUAL BASIC.NET

Module Module1
Sub Main()
Console.WriteLine(“Hello, World”)
End Sub
End Module

20. R

cat(‘Hello, World’)

21. VBSCRIPT

MsgBox “Hello, World”

22. XSLT

Hello, World

23. PROCESSING

void setup(){
println(“Hello, World”);
}

24. RUBY

puts “Hello, World”

25. SWIFT

print(“Hello, World”)

26. PYTHON

print (“Hello, World”)

I hope you liked our article for more Tech related stuff do visit TECH-ERA daily. 

Many Thanks... 




 
 

0 comments:

Post a Comment