KnowledgeBoat Logo

Java Series Programs

  • Java Iterative Stmts

    Write the program to find the sum of the following series:

    S = (a+1) + (a+2) + (a+3) + ……. + (a+n)


  • Java Iterative Stmts

    Write the program to find the sum of the following series:

    S = (a/2) + (a/5) + (a/8) + (a/11) + ……. + (a/20)


  • Java Iterative Stmts

    Write the program to find the sum of the following series:

    S = (1/a) + (2/a2) + (3/a3) + ……. to n


  • Java Iterative Stmts

    Write the program to find the sum of the following series:

    S = a - a3 + a5 - a7 + ……. to n


  • Java Nested for Loops

    Write a program in Java to find the sum of the following series:

    S = 1 + (3/2!) + (5/3!) + (7/4!) + ……. to n

    View Answer

    16 Likes


  • Java Nested for Loops

    Write a program in Java to find the sum of the following series:

    S = a + (a/2!) + (a/3!) + (a/4!) + ……. + (a/n!)


  • Java Nested for Loops

    Write a program in Java to find the sum of the following series:

    S = a - (a/2!) + (a/3!) - (a/4!) + ……. to n


  • Java Nested for Loops

    Write a program in Java to find the sum of the following series:

    S = (a/2!) - (a/3!) + (a/4!) - (a/5!) + ……. + (a/10!)


  • Java Nested for Loops

    Write a program in Java to input the values of x and n and print the sum of the following series:

    S = 1 - x2/2! + x4/4! - x6/6! + ……. xn/n!


  • Java Nested for Loops

    Write a program in Java to find the sum of the following series:

    S = (2/a) + (3/a2) + (5/a3) + (7/a4) + ……. to n


Showing 51 - 60 of 62 Questions