17
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int a = int.Parse(Console.ReadLine());
8
for(int y = 1; y <= a; y++)
9
{
10
for(int x = 1; x <= y; x++)
11
{
12
Console.Write("*");
13
}
14
Console.WriteLine();
15
}
16
}
17
}
Cached Result