Recently, I saw someone asking for a solution to print \'*\' pyramid pattern in N lines using just single while loop in a Facebook group.
And I found that most of the