New course! Every coder should learn Generative AI!
Try a free lesson0
C# How to make a hollow rectangle with stars?
A hollow rectangle with 80 columns and 25 rows should be written.
1 Answer
0
You should be able to do this with two for loops. The outer loop controls the row and the inner loop writes the stars or spaces.