Have you tried any code? Have you tried on Google, the daddy of search engine? And for which language you want the program?
And please don't ask anyone here to do your homework, please. This is all for your benefit.
Last edited by Satyaveer Arya; 01-31-2012 at 01:54 AM.