C# How to make a hollow rectangle with stars? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

C# How to make a hollow rectangle with stars?

A hollow rectangle with 80 columns and 25 rows should be written.

22nd May 2020, 10:34 PM
Hawktor
1 ответ
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.
25th May 2020, 8:05 PM
Matthew Shoop
Matthew Shoop - avatar