Java Pattern Programs

  • Java Nested for Loops

    Write a program in Java to display the following pattern:

    1 
    2 2 
    3 3 3 
    4 4 4 4 
    5 5 5 5 5
    

    View Answer

    744 Likes


  • Java Nested for Loops

    Write a program in Java to display the following pattern:

    5 4 3 2 1 
    4 3 2 1 
    3 2 1 
    2 1 
    1
    

    View Answer

    251 Likes


  • Java Nested for Loops

    Write the program in Java to display the following pattern:

    1
    2 1
    3 2 1
    4 3 2 1
    5 4 3 2 1

    View Answer

    185 Likes


  • Java Nested for Loops

    Write the program in Java to display the following pattern:

    1 2 3 4 5
    1 2 3 4
    1 2 3
    1 2
    1

    View Answer

    129 Likes


  • Java Nested for Loops

    Write a program in Java to display the following pattern:

    5 4 3 2 1
    5 4 3 2
    5 4 3
    5 4
    5

    View Answer

    227 Likes


  • Java Nested for Loops

    Write the program in Java to display the following pattern:

    1 3 5 7 9
    1 3 5 7
    1 3 5
    1 3
    1

    View Answer

    77 Likes


  • Java Nested for Loops

    Write the program in Java to display the following pattern:

    5
    5 4
    5 4 3
    5 4 3 2
    5 4 3 2 1

    View Answer

    69 Likes


  • Java Nested for Loops

    Write the program in Java to display the following pattern:

    1 2 3 4 5
    2 3 4 5
    3 4 5
    4 5
    5

    View Answer

    61 Likes


  • Java Nested for Loops

    Write a program in Java to display the following pattern:

    5 
    4 4 
    3 3 3 
    2 2 2 2 
    1 1 1 1 1
    

    View Answer

    71 Likes


  • Java Nested for Loops

    Write a program in Java to display the following pattern:

    3
    44
    555
    6666
    77777

    View Answer

    45 Likes


Showing 1 - 10 of 87 Questions