On Mon, Feb 28, 2011 at 06:05:11PM +0530, Saravanan Selvamani wrote: > Hi, > Anyone knows how to find the factorial of a number without > using loops , arithmetic operator,case structure.I guess that this has to be > done by using bitwise operator.but i dont know how.
One way is to use recursive function calls. Just search online for "factorial recursion" for details. Kumar -- : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : /etc/nologin LOST #517 If the file /etc/nologin exists, login will allow access only to root users. Other users will be shown the contents of this file and their logins will be refused. ####[ajitabhpandey (at) users.sourceforge.net]################ : _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
