Java Series Programs

  • Java Iterative Stmts

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

    S = a + a2 + a3 + ……. + an

    View Answer

    39 Likes


  • Java Iterative Stmts

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

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

    View Answer

    14 Likes


  • 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)

    View Answer

    37 Likes


  • Java Iterative Stmts

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

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

    View Answer

    17 Likes


  • Java Iterative Stmts

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

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

    View Answer

    19 Likes


  • 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

    82 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!)

    View Answer

    61 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!) + ……. to n

    View Answer

    21 Likes


  • 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!)

    View Answer

    38 Likes


  • 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!


Showing 51 - 60 of 63 Questions