GeekInterview.com
Series: Subject: Topic:
Question: 237 of 587

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
Asked by: Rujul | Member Since Feb-2007 | Asked on: Mar 9th, 2007

View all questions by Rujul   View all answers by Rujul

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.