Untitled
unknown
csharp
3 years ago
444 B
3
Indexable
class Program { static void drawRect(char x, int row, int col) { for (int i = 0; i < row; i++) { Console.WriteLine(); for (int y = 0; y < col; y++) { Console.Write(x); } } } static void Main(string[] args) { drawRect('\u0070', 15, 10); } }
Editor is loading...