Hello World Program in various computer Languages

 


Hello World ------ C

#include <stdio.h>
int main() {
   printf("Hello World");
   return 0;
}

Hello World ------ C++

#include <iostream>
int main() {
   std::cout<<"Hello World"<<endl;
   return 0;
}

Hello World ------ C#

namespace program
{
    class program   {         
        static void Main(string[] args)
        {
            System.Console.WriteLine("Hello World");
        }
    }
}

Hello World ------ Java


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

Hello World ------ Python

print('Hello world')

Comments

Popular posts from this blog

Astronomy & Astrophysics General Knowledge

AC-DC Power Supply 1 ( Block Diagram)

Fundamentals of AWS GCP and Azure Cloud Technology