C++ program to find sum of series 1+1/2^2+1/3^3+…..+1/n^nSum of Series / By Neeraj Mishra #include<iostream.h> #include<conio.h> #include<math.h> void main() { clrscr(); double sum=0,a; int n,i; cout<<“1+1/2^2+1/3^3+…..+1/n^n”; cout<<“nEnter value of n:”; cin>>n; for(i=1;i<=n;++i) { a=1/pow(i,i); sum+=a; } cout<<“Sum=”<<sum; getch(); }
1, 4, -9, 16, 25, -36, 49, 64, -81,
plz slove this question.
Write a c program for 1+1/2^2+1/3^2+1/4^2+
Please give me program of 1+1/2^2+1/3^2+1/n^2
QBASIC me kese run krwaye????