using System;
public class bj2438
{
public static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
for (int i=1; i<=n; i++)
{
for(int j=1; j<=i; j++)
{
Console.Write("*");
}
Console.Write("\n");
}
}
}
'C# > C# (백준)' 카테고리의 다른 글
[C#] 백준 알고리즘 1110번, 더하기 사이클 (0) | 2022.08.03 |
---|---|
[C#] 백준 알고리즘 10871번, X보다 작은 수 (0) | 2022.07.28 |
[C#] 백준 알고리즘 2741번, N 찍기 (0) | 2022.07.26 |
[C#] 백준 알고리즘 8393번, 합 (0) | 2022.07.25 |
[C#] 백준 알고리즘 10950번, A+B - 3 (0) | 2022.07.25 |