dimanche 25 octobre 2015

How to print an inclined pyramid pattern in java using for loop in java?

I have been trying to print different patterns using for loop statement in java. And now I want to learn how to print the following pattern. It is basically an inclined pyramid type of pattern.

    *
    **
    ***
    ****
    ***
    **
    *

Aucun commentaire:

Enregistrer un commentaire