백준 9655번

Console(콘솔)/알고리즘 2019. 9. 26. 11:39

          using System;

 

namespace Syntax

{

    class Program

    {

        static void Main(string[] args)

        {

            int input = int.Parse(Console.ReadLine());

            Console.Clear();

            bool condition = input % 2 == 1;

 

            if (condition)

            {

                Console.WriteLine("SK");

            }

            else

            {

                Console.WriteLine("CY");

            }

        }

    }

}

 

Colored by Color Scripter

'Console(콘솔) > 알고리즘' 카테고리의 다른 글

백준 10951번  (0) 2019.09.26
백준 5622번  (0) 2019.09.26
***고양이***  (0) 2019.09.25
***a x b의 값***  (0) 2019.09.25
***a-b 의 값***  (0) 2019.09.25
: