Pattern Programming — You Are Doing It Wrong!
Half star pyramid is the most common pattern which we come across while writing code to print patterns in any language. Take a look at this pattern:- *************** One approach that might come to mind is “ the number of stars in each row is equal to the number of row (I mean index of … Read more