Program to print solid and hollow square star pattern | faceprep

Program to print solid and hollow square star pattern | faceprep

The program to print solid and hollow square star patterns is discussed here. For any given number n, print hollow and solid square star patterns.


Program to print solid and hollow square star pattern

Solid Star Pattern

* * * * *n* * * * *n* * * * *n* * * * *n* * * * *n


Hollow Star Pattern

* * * * *n*       *n*       *n*       *n* * * * * n


Program to print solid square star pattern

@@coding::1@@


Program to print solid and hollow square star pattern Click here to know more about FACE Prep PRO


Program to print hollow square star pattern


@@coding::2@@



Program to print solid and hollow square star pattern

c