Yes, this is my first entry...
here is a sample using plain old html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Hello World</title> </head> <body> <h1>Hello World</h1> <p> Faaeq here. </p> </body> </html>
and here is using old C
/*Faaeq Hello World program */
#include<stdio.h>
main()
{
printf("Hello World");
}using java it would look like this
import java.applet.Applet;
import java.awt.Graphics;
public class HelloWorld extends Applet {
public void paint(Graphics g) {
g.drawString("Hello world!", 50, 25);
}
}
and for c++
// faaeq first program in C++
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
simple sql
SET SERVEROUTPUT ON; BEGIN DBMS_OUTPUT.PUT_LINE('Hello world!'); END;
Pascal
program HelloWorld;
uses crt;
begin
WriteLn('Hello world!');
end.
COBOL
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
PROCEDURE DIVISION.
DISPLAY 'Hello, world'.
STOP RUN.
And if you like to ask....why hello world...
i was born on 8th November 2012...and here is what i like to say!
p/s : my father wrote this because they have not invented "Mind control keyboard"...
so my father is writing for me on my behalf..
No comments:
Post a Comment