Hello World !

Python

print(‘Hello World!’)

PHP

<?php echo “Hello World!”; ?>

JavaScript

document.write(‘Hello World!’);

TypeScript

console.log(“Hello World!”);

C

usin…


This content originally appeared on DEV Community and was authored by Gurmehar Singh Khalsa

Python

print('Hello World!')

PHP

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

JavaScript

document.write('Hello World!');

TypeScript

console.log("Hello World!");

C

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

C

#include 

int main(void)
{
    puts("Hello World!");
}

C++

#include 

int main()
{
    std::cout << "Hello World!
";
    return 0;
}

Java

class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Prints the string to the console.
    }
}

Bash

echo "Hello World!"

MatLab

disp('Hello World!')

R

cat('Hello World!
')

Ruby

puts "Hello World!"

Swift

println("Hello World!")

Assembly

    global  _main
    extern  _printf

    section .text
_main:
    push    message
    call    _printf
    add     esp, 4
    ret
message:
    db  'Hello, World', 10, 0

Go

package main

import "fmt"

func main() {
    fmt.Println("Hello, World")
}

Objective-C

#import <Foundation/Foundation.h>

int main() {
    @autoreleasepool {
        NSLog(@"Hello, World!");
    }
}

That's all for my First Post !

Hope, you enjoyed experiencing Greetings from the World of programming.

I love the way YOU Smile?


This content originally appeared on DEV Community and was authored by Gurmehar Singh Khalsa


Print Share Comment Cite Upload Translate Updates
APA

Gurmehar Singh Khalsa | Sciencx (2021-06-05T20:02:59+00:00) Hello World !. Retrieved from https://www.scien.cx/2021/06/05/hello-world-6/

MLA
" » Hello World !." Gurmehar Singh Khalsa | Sciencx - Saturday June 5, 2021, https://www.scien.cx/2021/06/05/hello-world-6/
HARVARD
Gurmehar Singh Khalsa | Sciencx Saturday June 5, 2021 » Hello World !., viewed ,<https://www.scien.cx/2021/06/05/hello-world-6/>
VANCOUVER
Gurmehar Singh Khalsa | Sciencx - » Hello World !. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/05/hello-world-6/
CHICAGO
" » Hello World !." Gurmehar Singh Khalsa | Sciencx - Accessed . https://www.scien.cx/2021/06/05/hello-world-6/
IEEE
" » Hello World !." Gurmehar Singh Khalsa | Sciencx [Online]. Available: https://www.scien.cx/2021/06/05/hello-world-6/. [Accessed: ]
rf:citation
» Hello World ! | Gurmehar Singh Khalsa | Sciencx | https://www.scien.cx/2021/06/05/hello-world-6/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.