repost : Basic Computer Programming for Today’s Politicians

Here’s a basic computer program for the politicians of today, expressed in different computer languages:

C Language
#include <stdio.h>
int main()
{
   printf("Hello, Garci!\n");
   return 0;
}

C++
#include <iostream>
using namespace std;
int main()
{
   cout << "Hello, Garci!" << endl;
   return 0;
}

C#
public class WireTapGate
{
   public static void Main()
   {
      System.Console.WriteLine("Hello, Garci!");
   }
}

Pascal
program WireTapGate;

begin
  writeln(‘Hello, Garci!’);
end.

Java
 import java.awt.*;
 public class WireTapGate
 {
      public static void main(String[] args)
      {
         System.out.println("Hello, Garci!");
      }
 }

Perl
#!/usr/bin/perl
use strict;
use warnings;
my %hash = (wiretapgate => ‘Hello, Garci!’);
my $stmt = $hash{wiretapgate};
print "$stmt\n";

Visual Basic
Option Explicit
Public Sub Form1_Load()

    MsgBox "Hello, Garci!"

End Sub

Visual Basic .NET
Imports System
Module WireTapGate
   Sub Main()
       Console.WriteLine("Hello, Garci!")
   End Sub
End Module

ASP
<%
     Response.Write "Hello, Garci!<br />"
%>

PHP
<?php
     echo "Hello, Garci!<br />";
?>

SQL
SELECT ‘Hello, Garci!’ AS WireTapGate;

JavaScript
<script type="text/javascript">
<!–
    var wireTapGate = "Hello, Garci!";

    alert(wireTapGate);
//–>
</script>

Windows API
#include <windows.h>
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
  MessageBox(NULL, "Hello, Garci!", "Message", MB_OK);
  return 0;
}

*nix Shell Script
#!/bin/sh
WIRETAPGATE="Hello, Garci!"
echo $WIRETAPGATE

x86 Assembler
.model small
.stack
.data
message   db "Hello, Garci!", 0D, 0A, "$"
.code

main   proc
   mov   ax,seg message
   mov   ds,ax
   mov   ah,09
   lea   dx,message
   int   21h

   mov   ax,4c00h
   int   21h
main   endp
end main

Markup Languages

HTML
<html>
    <head>
<title>Wiretapgate</title>
</head>
<body>
Hello, Garci!
</body>
</html>

XML
<?xml version="1.0"?>
<WireTapGate>
    <Statement>Hello, Garci!</Statement>
</WireTapGate>