NetDigit February 14, 2009
Posted by admin in : Programming language , 2commentsWelcome! (In my Programming Languages) June 15, 2007
Posted by admin in : Programming language , 1 comment so far /* C Version */
#include
#include
int main()
{
printf(”Welcome!”);
}
/* Java Version */
import java.io.*;
class Welcome
{
static public void main( String args[] )
{
System.out.println( "Welcome!" );
}
}
/* C++ Version */
#include
main()
{
cout << “Welcome!” << endl;
return 0;
}
/* C# Version */
using System;
class Welcome
{
public static int Main(String[] args)
{
Console.WriteLine("Welcome!");
return 0;
}
}
/* ADA Version */
with Text_IO;
procedure Welcome is
begin
Text_IO.Put_Line("Welcome!");
end Welcome;
