The factorial of a nonnegative integer n is written n!
(pronounced “n factorial”) and is defined as
follows:
n! = n · (n - 1) · (n - 2) · … · 1 (for values of n greater
than to 1)
and
n! = 1 (for n = 0 or n = 1).
For example, 5! = 5 · 4 · 3 · 2 · 1, which is 120. Use while
structures in each of the following:
a) Write a program that reads a nonnegative integer and
computes and prints its factorial. Use the
following function prototype to calculate factorial:
int myFactorial(int n);
b) Write a program that estimates the value of the
mathematical constant e by using the formula:
Use the following function prototype to calculate e:
double myE( );
Hint: Use an accuracy of 10 terms.
c) Write a program that computes the value of ex by using
the formula
Use the following function prototype to calculate e:
double myEx(int x);

I am going to appear for ISRO written test on 26 th april
2009 .So kindly forward me sample previous question paper
for ISRO for BE Computer Science . My mail id :
jothychristiya@gmail.com

Is there aptitute question will be asked in NIC exam ???
If yes how many questions will be asked??

215

THESE POSTS ARE FOR THE DURATION OF FIVE YEARS. AFTER
COMPLETION OF FIVE YEARS, THE PERSONNEL POSTED AGAINST
THESE POSTS ARE LIKELY TO BE CONTINUED IN NIC.
CAN Any body say that what it will be happened after 5
years? does they through us out from NIC? Is it a temporary
job of 5 years is the probation period?

what is your experience with computer-aided design
software.

335

hey..... anybody here from CG? i m from CG n have been
selected in the written xam sbi(clerical).interview date is
5/5/2010. answer me if anybody is there 4m CG