โ† Philips questions

Print a symmetric number pattern.

Filed under Philips

The question

Write a program to print a pyramidal number pattern where each row i starts at 1, increments to i, and decrements back to 1 (e.g., Row 1: 1; Row 2: 1 2 1; Row 3: 1 2 3 2 1; Row 4: 1 2 3 4 3 2 1).

No write-up yet. Related questions below have one.

Related Philips questions

Collected from public candidate posts and coding forums. Updated Nov 2026.