Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

Game - Different methods to print "Hello TechnicalTalk"

 
webmaster forum
Admin  Offline
*
 
Code Guru
Location: India
Gender: Male
Posts: 1387
Topics: 105
NaviBuster NaviBuster
WWW
October 28, 2009, 07:09:55 AM

All Friends,


Do you remember the "Hello World" program? The program that you might have tried out very first while learning any new programming language.

Based on the same here is a simple game where you have to provide a code in different programming languages to print "Hello TechnicalTalk"

Simple rules:

1) Before writing your code, start with a line "Method ##X", Where X is a number and will increase per reply.
2) Write the programming language name.
3) Do not copy someone else method, and avoid posting duplicate methods over and over again.
4) Write one method at one reply.
5) You can use any programming language you know in the world.
6) Please don't post garbage, meaningless replies.

So.... lets see with how many Methods we can achieve this....


My own first contribution:


Method ##1

PHP code

Code:

<?PHP
echo "Hello TechnicalTalk";
?>


« Last Edit: October 28, 2009, 07:15:32 AM by Admin »
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
November 02, 2009, 01:53:05 PM

Method ##2

C

Code:
#include <stdio.h>
int main()
{
printf("Hello TechnicalTalk\n");
return 0;
}

« Last Edit: November 02, 2009, 10:45:39 PM by Admin »

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
webmaster forum
Admin  Offline
*
 
Code Guru
Location: India
Gender: Male
Posts: 1387
Topics: 105
NaviBuster NaviBuster
WWW
November 02, 2009, 10:44:55 PM

Polas looks like you forgot the rules of the game Smiley

4) Write one method at one reply.

Therefore I am cutting your one method into this reply.


Method ##3

Java
Code:

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

 
webmaster forum
Kevin  Offline
A computer Science student
Dream - To become a computer expert
Activity
26.67%
 
Skilled Coder
Real name: Kevin
Location: India
Gender: Male
Age: 18
Posts: 199
Topics: 51
kevin.cmaker
June 13, 2011, 11:53:29 AM

 clapping Let be also join this game!

Method ##4

HTML
Code:
<HTML>
<BODY>
Hello TechnicalTalk
</BODY>
</HTML>

Glad to help.

A TechnicalTalk member!
 
webmaster forum
Kevin  Offline
A computer Science student
Dream - To become a computer expert
Activity
26.67%
 
Skilled Coder
Real name: Kevin
Location: India
Gender: Male
Age: 18
Posts: 199
Topics: 51
kevin.cmaker
June 13, 2011, 12:53:17 PM

Method ##5

JavaScript
Code:
<script type="text/javascript">

document.write("Hello TechnicalTalk")

</script>

Glad to help.

A TechnicalTalk member!
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 28, 2012, 12:11:38 AM