using System;
public class Example
{
public static void Main()
{
String[] s;
Console.Clear();
s = Console.ReadLine().Split(' ');
int a = Int32.Parse(s[0]);
int b = Int32.Parse(s[1]);
for (int i = 0; i < b; ++i)
{
for (int j = 0; j < a; ++j)
{
Console.Write("*");
}
Console.WriteLine();
}
}
}
'C# 알고리즘 코드카타' 카테고리의 다른 글
40. 3진법 뒤집기 (0) | 2023.11.21 |
---|---|
39. 최대공약수와 최소공배수 (1) | 2023.11.21 |
37. 행렬의 덧셈 (1) | 2023.11.20 |
36. 문자열 다루기 기본 (1) | 2023.11.20 |
35. 부족한 금액 계산하기 (0) | 2023.11.17 |