728x90
(과제 내용)
2 X 1 = 2
2 X 2 = 4
2 X 3 = 6
2 X 4 = 8
2 X 5 = 10
2 X 6 = 12
2 X 7 = 14
2 X 8 = 16
2 X 9 = 18
using System;
using System.Diagnostics.Eventing.Reader;
using System.Diagnostics.Tracing;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters;
using System.Security.Permissions;
namespace LearnDotnet
{
internal class Program
{
static void Main(string[] args)
{
for (int i =0;i<9;i++)
{
Console.WriteLine("2 X {0} = {1}",i+1,2*(i+1));
}
}
}
}
'KDT > C# 프로그래밍' 카테고리의 다른 글
23/07/20 퀴즈6 (0) | 2023.07.20 |
---|---|
23/07/20 퀴즈5 (0) | 2023.07.20 |
23/07/20 퀴즈3 (0) | 2023.07.20 |
23/07/20 퀴즈2 (0) | 2023.07.20 |
23/07/20 퀴즈1 (0) | 2023.07.20 |