백준 9655 돌 게임

Console Programming/C# Console 2019. 9. 26. 13:00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
 
namespace _9655
{
    class Program
    {
        static void Main(string[] args)
        {
            int input = int.Parse(Console.ReadLine());
            if (input % 2 == 0)
            {
                Console.WriteLine("CY");
            }
            else
                Console.WriteLine("SK");
 
        }
    }
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 

 

'Console Programming > C# Console' 카테고리의 다른 글

백준 10817 세 수 (에러해결)  (0) 2019.09.26
백준 10817 세 수  (0) 2019.09.26
백준 5622 다이얼  (0) 2019.09.26
7일차 switch문의 사용 (9)  (0) 2019.09.26
7일차 switch문의 사용 (8)  (0) 2019.09.26
: