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

what are the differences between malloc() and calloc() in c
language?

115

I have a backlog in Computer Graphics and unable to clear
that subject since 2007. Im from JNTU hyderabad. I dont have
internal marks, so im unable to clear the subject. Is there
any legal way to get my degree bcos of which i cant get
proper job. Please help me.

594

Please explain me gsm call scenario for a prepaid roamer
calling to a prepaid roamer?

345

Friends i want to know about the civil service
examination...when it wil be conducted this year?i want to
become DSP...I just completed my engineering in the stream
of computers....Is percentage required in engineering to
Write Mains?please help me send answers to my mail
arun.kanduri@gmail.com

205

explain about scope and storage class in oops

922

i have got a gre score of 800 in my first attemt and a
score of 1080 in the second and i have repoted both the
scores.will it effect my chances of getting good university

195

what is polymorphism?

277

compare the conditional operator with if-else-if statement.

137

My system suddenly get off,when i try to power on then it
does not work but when i open it and clean RAM and insert it
again, it power on.but after some day same problem?
please give the answer (i have also changed RAM it's new.)

184

how to create user name stape by stape in cisco router
{with command}

633

i m a student of 4th year ,i m unable to get the embassy
appointment dates , and it details.............please help
any body.My id=john_searching143@yahoo.com

232

hi friends i am first time using this site.i came to by
some tcs personals that certifications r important for
placements.i am financially average i am learning java from
books.please tell is it enough if not which certification
should i go for