KnowledgeBoat Logo

Java Series Programs

  • Java Iterative Stmts

    Write the program in Java to display the first ten terms of the following series:

    24, 99, 224, 399,


  • Java Iterative Stmts

    Write the program in Java to display the first ten terms of the following series:

    2, 5, 10, 17,


  • Java Iterative Stmts

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

    1 + 4 + 9 + …… + 400


  • Java Iterative Stmts

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

    1 + (1/2) + (1/3) + …… + (1/20)


  • Java Iterative Stmts

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

    1 + (1/3) + (1/5) + …… + (1/19)


  • Java Iterative Stmts

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

    (1/2) + (2/3) + (3/4) + …… + (19/20)


  • Java Iterative Stmts

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

    2 - 4 + 6 - 8 + …… - 20


  • Java Iterative Stmts

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

    (1*2) + (2*3) + …… + (19*20)


  • Java Iterative Stmts

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

    S = (a*2) + (a*3) + …… + (a*20)


  • Java Iterative Stmts

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

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


Showing 21 - 30 of 59 Questions