C++
posted by MATHMATE PLEASEE HELP .
you are right the question is exactly like this... can you help me for this question.... thanks
Write a MAIN function and a FUNCTION to compute the sum of the below series.
((1)^(n+1)*n!)/(n^n) (from n=1 to infinity)
Within the MAIN function:
. Read a variable EPSILON of type DOUBLE (desired accuracy) from
the standard input.
EPSILON is an extremely small positive number which can be anything
between 1E06 (10^(6)) and 1E12 (10^(12)).
. EPSILON value will be passed to the FUNCTION as an argument.
Within the FUNCTION:
. In a dowhile loop:
. Continue adding up the terms until Sn+1  Sn < EPSILON.
. Sn is the sum of the first nterms.
. Sn+1 is the sum of the first (n+1)terms.
When the desired accuracy EPSILON is reached print the SUM and the number
of TERMS added to the sum.

Your teacher's instruction ressemble very much a pseudocode. Just transcribe and start coding.
Can you propose a pseudocode, or actual coding so that we have a starting point? 
sir. ý don't understand anything.. ý need answer in c program. and the program should to run...

Here's a sample Ccode template for you to start with.
C++ would be slightly different
You just have to add in your own code.
If you have no idea where to start, review your teacher's notes, or do the best you can.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
printf("Hello World!\n");
} 
ý am sorry but. you can't do all this question??? I DON'T KNOW THÝS PROGRAM... :S:S

I have done this whole program. I have even showed you the results of the (wrong) series to show that the question was wrong.
However, I am sorry that I should not post my program. I can help you get there, to make sure it works, if you show efforts on your part. Your teacher gave you this assignment so that you can learn. If you take my program ans submit as your own work, it would be plagiary, and worse, you haven't learned anything.
If you want to achieve anything close to writing a program, there is no other way than to write it and learn from mistakes. This is why compilers are there to check your program for obvious mistakes. We're here to help you if you cannot figure out the mistakes.
Respond to this Question
Similar Questions

calc help
consider the function f(x)= x^2/4 6 Rn is the Riemann sum where the sample points are chosen to be the righthand endpoints of each subinterval. Calculate Rn for f(x)= x^2/4 6 on the interval [0,4] and write your answer as a function … 
Math
Hi. The question I'm having problems with: Write the body of an iterative function to compute n!, where n! = n(n1)(n2)...1. Then, analyze this function where the work unit is the multiplication operation. I think I have the first … 
Math
How would you rewrite the equation y = 3x+1 as a function of x. Hmmm. It is written now as a function of x. Do you mean like this, where x is a function of y? 
algebra
Okay, I was taught that if a geometric series is infinite and it diverges then it has no limit and no sum. Looking back in my notes, I found an example of finding the value for a divergent series? 
C++
Write a MAIN function and a FUNCTION to compute the sum of the below series. ((1)^(n+1)*n!)/(n*n) (from n=1 to infinity) Within the MAIN function: . Read a variable EPSILON of type DOUBLE (desired accuracy) from the standard input. … 
C++
Write a MAIN function and a FUNCTION to compute the sum of the below series. ((1)^(n+1)*n!)/(n*n) (from n=1 to infinity) Within the MAIN function: . Read a variable EPSILON of type DOUBLE (desired accuracy) from the standard input. … 
C++
Write a MAIN function and a FUNCTION to compute the sum of the below series. (n!)/(2n+1)! (from n=1 to infinity) Within the MAIN function: . Read a variable EPSILON of type DOUBLE (desired accuracy) from the standard input. EPSILON … 
computer programming
write a program to print fibonaaci series like 2,1,3,4,7,11,18 up to 10th term using function...end function I did it using SUB..end sub in this way : declare sub series cls call series end sub series a=2 b=1 for p =1 to 5 print a; … 
Math
One number is 10 larger than another. Write a function in standard form to represent the sum of their squares. The minimum sum of squares is ___. So I said that the function is f(x)=x^2+x+10 and since the question comes from an assignment … 
Math
A quadratic function has a vertex of (3,6) and the point (1,10) lies on the graph of the function. Write the function in standard form. If you could help me with this question, that would be great. Thanks in advance.