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);
2 22141I have applied for the post of Section Engineer. plz anyone send me the previous question paper. i did my engineering in Information Technology.
2014Can a Student without engineering background appear for GRE means If he did Bachelor of science in Information technology i.e BSc(IT).
1949I 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
2593What questions and tests would i be given to becme a service enginner 2 for a train company repairing trains
1 3428WHAT IS DIFFERENCE BETWEEN ART & VECTOR QUANTISATION BASED ON THEIR APPLICATION IN NEURAL NETWORK
1788operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system
6376Post New Engineering AllOther Questions
How would you design a gravity dam for holding back water?
to print greatest of two integers without using >,<,=.
PLEASE SEND ME NIC SCIENTIFIC OFFICER-2009 EXAM PATTERN AND QUESTION PAPERS
i need to alone print a number no text by using if statement .say some idea
I am having 17 months experience in development.I want to take testing as my career.I dont have experience in testing. Will get job anywhere?
Why is it that a single, all – encompassing metric cannot be developed for programme complexity or programme quality?
How can we share data between actions in qtp..pls tell me
please send aptitude test papers for reference with answers
what is disadvantages of waterfall model ?? industry used which model ??
sir/medam i had completed my B-TECH(CSE)2011 with 61%.i have to go USA for futhure studies.i dnt know what is steps for do futhure studies in USA so could you please tell me
how u send idocs with out using r.f.c interface
write a c programme to count the characters words and lines in a text book
WHAT IS THE NAMESPACE FOR CUSTOMCONTROL AND USER CONTROL IN ASP.NET?
what is your experience in developing technical specifications?
my first question in huawei was ....1)Tell me about your self 2) oops concept 3)logic gates 4)ram and rom ,what is cache memory nd where it is located 5)diffrence between file system and data base 6) procedure of operating system 7)what is c# 8)high level language and machine language 9) and from mobile networkin !!!! hope thz will help you