[C#] 백준 2739번 : 구구단
using System;
class Program
{
static void Main()
{
string a = Console.ReadLine();
int num = int.Parse(a);
for (int i = 1; i < 10; i++)
{
Console.WriteLine($"{num} * {i} = {num * i}");
}
}
}
반응형
'백준 > C#' 카테고리의 다른 글
[C#] 백준 8393번 : 합 (0) | 2025.01.23 |
---|---|
[C#] 백준 10950번 : A+B - 3 (0) | 2025.01.23 |
[C#] 백준 2480번 : 주사위 세개 (0) | 2025.01.23 |
[C#] 백준 2525번 : 오븐 시계 (0) | 2025.01.23 |
[C#] 백준 2884번 : 알람 시계 (0) | 2025.01.22 |