بيان المشكلة
Write a program that reads two integers R and C and prints a hollow rectangle of stars.
DEMO-C-32 • Programming in C
Write a program that reads two integers R and C and prints a hollow rectangle of stars.
Two integers R and C (1 <= R, C <= 20).
A hollow rectangle of stars.
Submit runs every public testcase in this browser. Results and code never leave this device.
3 5
***** * * *****
2 6
****** ******
1 1
*
3 3
*** * * ***
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question