Problem Description

Print complete diamond shape.
Real Life: Combining pyramid and inverted pyramid.

Step-by-Step Logic:
1. First print upper pyramid (n rows)
2. Then print lower inverted pyramid (n-1 rows)
3. Combine both parts
4. Forms diamond shape

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next