C#프로그래밍
2023/07/20 퀴즈 8번
EasyCastleT
2023. 7. 20. 16:19
using System;
namespace LearnDotnet
{
internal class Program
{
static void Main(string[] args)
{
Console.Write("줄넘기 횟수를 입력 하세요:");
string countChar = Console.ReadLine();
int count = Convert.ToInt32(countChar);
for (int i = 0; i < count; i++)
{
Console.WriteLine("줄넘기를 {0}회 했습니다.", i+1);
}
}
}
}