hello, world

date
Mar 1, 2020
slug
hello-world
status
Published
tags
summary
type
Post

C

#include <stdio.h>

int main()
{
    printf("hello, world\n");
    return 0;
}

Shell

#!/bin/sh
echo "Hello World"

C++

#include <iostream>

int main()
{
   std::cout << "Hello World" << std::endl;
}

JavaScript

console.log("Hello World");

Python

#!/usr/bin/env python3
print("Hello World")

Java

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

© SunBK201 2020 - 2026