my teacher gave us a homework at C but i couldnt figure that out
can any one please solve it? or give me directions
Thank you in advance.
ln n/e^n (from n=1 to infinity)
Write a C program which will find the sum of the N-terms of the above
convergent series. The program will consist of a MAIN function and a
Within the MAIN function.
. Number of terms N will be read from the standard input.
. N will be passed to the function as an argument.
. Sum of the N terms(return value from the function) will be printed.
Within the function.
. Sum of the N terms of the given series will be calculated and returned
to the MAIN function.