Tag: Sum of Series
Posts of Tag: Sum of Series
TOP TAGS :
1. ## C++ program to find sum of series 1 + 2 + 3 +……+ n

C++ program to find sum of series 1 + 2 + 3 +……+ n #include <iostream.h> #include <conio.h> void main() { clrscr(); int i, n, sum = 0; cout << '1+2+3+……+n'; cout << 'nE...Learn More
2. ## C++ Program to print given series:1 2 4 8 16 32 64 128

C++ Program to print given series:1 2 4 8 16 32 64 128 #include <iostream.h> #include <conio.h> void main() { clrscr(); int i; for (i = 1; i <= 128; i *= 2) cout << i &...Learn More
3. ## C++ Program to Print Series 1 -4 7 -10 . . . . -40

C++ Program to Print Series 1 -4 7 -10 . . . . -40 Here you will get C++ program to print series 1 -4 7 -10 . . . . -40. #include<iostream> using namespace std; int main() { int i,a=-1,b; for(i=...Learn More
4. ## C++ program to find sum of series 1+1/2^2+1/3^3+…..+1/n^n

C++ program to find sum of series 1+1/2^2+1/3^3+…..+1/n^n #include <iostream.h> #include <conio.h> #include <math.h> void main() { clrscr(); double sum = 0, a; int n, i; cout...Learn More
5. ## C++ program to find sum of series 1^2+3^2+5^2+……+n^2

C++ program to find sum of series 1^2+3^2+5^2+……+n^2 #include <iostream.h> #include <conio.h> void main() { clrscr(); int n, i; long sum = 0; cout << "1^2+3^2+5^2+……+n^2nn En...Learn More
6. ## C++ Program to Print Series 1 -4 7 -10 . . . . -40

C++ Program to Print Series 1 -4 7 -10 . . . . -40 Here you will get C++ program to print series 1 -4 7 -10 . . . . -40. #include<iostream> using namespace std; int main() { int i,a=-1,b; for(i=...Learn More
7. ## C++ program to find sum of series 1/2+4/5+7/8+……

C++ program to find sum of series 1/2+4/5+7/8+…… #include <iostream.h> #include <conio.h> void main() { clrscr(); //to clrscr the screen int i, n; float sum = 0, x, a = 1; cout <...Learn More
8. ## C++ program to find sum of series 1+x+x^2+……+x^n

C++ program to find sum of series 1+x+x^2+……+x^n #include <iostream.h> #include <conio.h> #include <math.h> void main() { clrscr(); //to clear the screen long i, n, x, sum = 1; c...Learn More
9. ## C++ program to find the sum of the series x+x^2/2+x^3/3+…..+x^n/n

C++ program to find the sum of the series x+x^2/2+x^3/3+…..+x^n/n #include <iostream.h> #include <conio.h> #include <math.h> void main() { clrscr(); //to clear the screen int i, n; ...Learn More
10. ## Java program to find sum of harmonic series 1 + 1/2 + 1/3 + 1/4 + 1/5 +……+ 1/n

Java program to find sum of harmonic series 1 + 1/2 + 1/3 + 1/4 + 1/5 +……+ 1/n class Harmonic { public static void main(String…s) { int n, i; float sum = 0; n = Integer.parseInt...Learn More
11. ## [C program] How to find the sum of series 1/2+4/5+7/8+etc...

C program to find the sum of series 1/2+4/5+7/8+…… #include<stdio.h> #include<conio.h> void main() { int i, n; clrscr(); float sum = 0, x, a = 1; printf("1/2+4/5+7/8+……"); printf...Learn More
12. ## [C program] How to find sum of series 1^2+3^2+5^2+…..+n^2

C program to find sum of series 1^2+3^2+5^2+…..+n^2 #include<stdio.h> #include<conio.h> void main() { int i, n, sum = 0; clrscr(); //to clear the screen printf("1^2+3^2+5^2+…..+n^2"); ...Learn More