Tag: Sum of Series
Posts of Tag: Sum of Series
  1. C program to find the sum of the series x+x^2/2+x^3/3+…..+x^n/n

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

    #include <stdio.h> #include <conio.h> #include <math.h> void main() { int i, n; float x, sum = 0; clrscr(); //to clear the screen printf("1+x+x^2+……+x^n"); printf("\n\nEnte...Learn More
    C ProgramsSum of SeriesProgramming Languages
  3. [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
    C ProgramsSum of SeriesProgramming Languages
  4. [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
    C ProgramsSum of SeriesProgramming Languages
  5. 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
    JavaSum of SeriesProgramming Languages
  6. 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
    C++ ProgramsSum of SeriesProgramming Languages
  7. 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
    C++ ProgramsSum of SeriesProgramming Languages
  8. 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
    C++ ProgramsSum of SeriesProgramming Languages
  9. 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
    C++ ProgramsSum of SeriesProgramming Languages
  10. 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
    C++ ProgramsSum of SeriesProgramming Languages
  11. 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
    C++ ProgramsSum of SeriesProgramming Languages
  12. 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
    Sum of SeriesC++ ProgramsProgramming Languages