using System;
namespace MyFirstProgram
{
internal class Program
{
static void Main(string[] args) // main method
{
// 다중 for 문
for (int ii = 0; ii < 5; ii++)
{
for (int jj = 0; jj < 6; jj++)
{
Console.Write("@");
}
Console.WriteLine();
}
}
}
}
728x90
'언어 > [C#]' 카테고리의 다른 글
[C#] 가위 바위 보: Rock Scissors Paper (0) | 2023.03.12 |
---|---|
[C#] 숫자 맞추기 게임 (number guess game) - 업다운 (up and down) (0) | 2023.03.01 |
[C#] for문 (for loop) (0) | 2023.03.01 |
[C#] while문 (while loop) (0) | 2023.03.01 |
[C#] 논리연산자 && (and), || (or) (0) | 2023.03.01 |