Problem Statement
Write a program that reads an integer N and prints an hourglass pattern of stars.
N is the number of rows in the upper half.
DEMO-C-32 โข Programming in C
Write a program that reads an integer N and prints an hourglass pattern of stars.
N is the number of rows in the upper half.
A single integer N (1 <= N <= 20).
An hourglass pattern.
Submit runs every public testcase in this browser. Results and code never leave this device.
3
***** *** * *** *****
5
*********
*******
*****
***
*
***
*****
*******
*********1
*
2
*** * ***
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question