بيان المشكلة
Write a program that reads an integer N and prints a butterfly pattern of stars.
DEMO-C-32 • Programming in C
Write a program that reads an integer N and prints a butterfly pattern of stars.
A single integer N (1 <= N <= 20).
A butterfly 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