You can do it easily in python...:)
Here is the python code

n=400
def fact(num):
    ans = 1
    while(num):
        ans = ans*num
        num = num-1
    return ans
print fact(n)     #printing 400!

even 1000! can be calculated

Regards
Jitendra Kushwaha
Undergradute Student
Computer Science & Eng.
MNNIT, Allahabad

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to