On Mon, Feb 28, 2011 at 6:05 PM, Saravanan Selvamani
<saravananselvam...@gmail.com> 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.
>

Some college question eh?

I remember answering this question in a new method which my teacher
did not understand
in my second semester Fortran course in 1995.

Anyway you cannot solve without using arithmetic operators.

How will you use bitwise operators?

It is messy.

Do it the simple way.

-Girish


-- 
Gayatri Hitech

http://gayatri-hitech.com
gir...@gayatri-hitech.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to