Find the factorial of given positive integer.

Consider the following code for finding the factorial of given positive integer
IFACT=1
DO 100 I=2,N,2
100 IFACT = IFACT*i*(i-1)

For which value of N, the above FORTRAN code will not work ?
1. N is even 2. N is odd
3. N is perfect number 4. N mod 3 =0

Questions by Rujul   answers by Rujul

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions