Not able to understand the logic of the question.
Can you please help me with the logic used in printing the following pattern.
Pattern InvertedHourGlass
Hello @prkfoxxx,
Divide the pattern into 2 half:
- Upper half
- Lower half
For each half, divide the print logic into three half:
- numbers on left
- Middle space
- numbers on right
Try to write a code considering above.
Share your code if face any issue.