(C#) 13. 구구단
multiplication table with C#
#
- 최초 작성일: 2021년 3월 21일(월)
##
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
namespace ex1
{
class Program
{
static void Main(string[] args)
{
// 구구단
for (int i = 2; i <= 9; i++)
{
for (int j = 1; j <= 9; j++)
{
Console.WriteLine($"{i} * {j} = {i * j}");
}
Console.WriteLine();
}
}
}
}
이 기사는 저작권자의 CC BY 4.0 라이센스를 따릅니다.