pause at 1:18

This commit is contained in:
2026-01-12 21:20:19 +01:00
parent cbf6c4fb62
commit 673159a18e
4 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
// Draw a rectangle in the console
Console.Write("how naby rows ?: ")
int rows = Convert.ToInt32(Console.ReadLine())
Console.Write("how many columns ?: ")
int columns = Convert.ToInt32(Console.ReadLine())
Console.Write("What symbol: ")
int columns = Console.ReadLine()
for (int i = 0; i < rows; i++){
for (int j = 0 ; i < columns; j++)
{
Console.Write(symbol);
}
Console.WriteLine();
}