Rants from a Computer Engineer

Hello World

This is my first post. So inorder to test out blogger I am going to post some hello world programs!

Java

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

Python

print("Hello World!")

Php

echo "Hello World"

C++

#include <stdio.h>
using namespace std;

int main(void) {
    cout << "Hello World!" << endl;
    return 0;
}

C

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

Aren’t they beautiful! Many thanks to the SyntaxHighlighter which I will be using for code snippets that I post. More “meaningful” content coming soon!

Leave a comment

Your email address will not be published. Required fields are marked *