Saturday, 14 November 2020

Write a program to input the value of x and n and print the sum of the series: x + x^2/2 - x^3/3 + x^4/4 + ........... x^n/n

 PROGRAM:











                

 INPUT & OUTPUT:





















No comments:

Post a Comment