Problem Statement
How would you print a pyramid pattern in PHP?
Explanation
You can use nested loops. The outer loop controls rows, and the inner loop prints spaces and stars in each row, creating a pyramid shape. This tests logical thinking and loop control understanding.
Practice Sets
This question appears in the following practice sets:
