Jump to content

User:Mr.Hellohellohello/sandbox

From Wikipedia, the free encyclopedia

programming languages

[edit]

this is a simple hello world program in python:

print("Hello, World")

this is in javascript:

console.log("Hello World!")

and in c:

#include <stdio.h>
int main() {
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}

and their brothers:

//c#
public class Program
{
    public static void Main(string[] args)
    {
        System.Console.WriteLine("Hello, World!");
    }
}
//c++
#include <iostream>

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

and java

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

and bash

#!/bin/sh
echo " Hello World
A, B, A, G, F