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 20561I have applied for the post of Section Engineer. plz anyone send me the previous question paper. i did my engineering in Information Technology.
1498Can a Student without engineering background appear for GRE means If he did Bachelor of science in Information technology i.e BSc(IT).
1536I 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
2099What questions and tests would i be given to becme a service enginner 2 for a train company repairing trains
1 2807WHAT IS DIFFERENCE BETWEEN ART & VECTOR QUANTISATION BASED ON THEIR APPLICATION IN NEURAL NETWORK
1311operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system
5937Post New Engineering AllOther Questions
how much lighting lux need for a common walking area at night time
Has anyone attended interviews in IITs for positions like Research fellowships/assistants? If yes, please share the experience about how complex the interview was, etc. etc.
PLEASE SUGGEST THE BALLY PLACEMENT PAPER PATTERN ABOUT WRITTEN TEST,INTERVIEW,HR.ITS URGENT. AS BALLY IS GOING TO VISIT OUR CAMPUS.
what is 16 bit processor and what is 32 bit processor?how can we differentiate and identify or find that ?How they access data?
CSS corp interview process and placement papers
Derive the equation that links voltage, charge and capacitance.
how to configure cisco router & switches plz provide me path steps?
What is ball bearing concept & its design.
How to write a test case for an extra Commerce website can any one tell this with the help of a table
Given Max hash and set of numbers find the way they are arranged.
different types of protocols.......?
Hi i'm richa piplani applied for ATC(IT) if u have the syllabus & old question papers forward me.I will be very much thankful to you. piplani.richa@gmail.com and sonu_pips@yahoo.co.in
i want a program in c# for 100 or for a number greater than 100.....pls help
What is IPSec?
why B+tree usually prefer as on exis structure to a data file?