Skip to content

Instantly share code, notes, and snippets.

@Arxero
Created September 29, 2017 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Arxero/e5c213981c3dab083b8d916e46c7728e to your computer and use it in GitHub Desktop.
Save Arxero/e5c213981c3dab083b8d916e46c7728e to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.Rectangle_of_10_x_10_Stars
{
class Program
{
static void Main(string[] args)
{
int size = int.Parse(Console.ReadLine());
for (int currentRow = 0; currentRow < size; currentRow++)
{
for (int currentCol = 0; currentCol < size; currentCol++)
{
Console.Write("*");
}
Console.WriteLine();
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment