💻
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();
}
}
}
'프로그래머스 > Lv.1' 카테고리의 다른 글
[프로그래머스 C#] 약수의 합 (0) | 2023.08.28 |
---|---|
[프로그래머스 C#] 나머지가 1이 되는 수 찾기 (0) | 2023.08.27 |
[프로그래머스 C#] x만큼 간격이 있는 n개의 숫자 (0) | 2023.08.23 |
[프로그래머스 C#] 자연수 뒤집어 배열로 만들기 (0) | 2023.08.22 |
[프로그래머스 C#] 자릿수 더하기 (0) | 2023.08.22 |