Posted by maria PLEASE HELP on .
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.

C++ 
MathMate,
See response to your earlier post.
http://www.jiskha.com/display.cgi?id=1331322048