Does anyone know how to do the program that are more or less like peteranswers??

This is the website which has been using to trick people...

http://www.peteranswers.com/


and this is the secret :

http://chriswondra.com/2007/02/21/pe...rs-the-secret/


i'm just wondering if i'm capable to do just a simple program that is similar like this?

and how to do this if i could?


gumawa po ko ehh kaso epic fail hirap