백준 1330번

Console(콘솔)/알고리즘 2019. 9. 27. 10:55

using System;

 

 

namespace Syntax12

{

    class Program

    {

        static void Main(string[] args)

        {

            string str = Console.ReadLine();

            string[] strr = str.Split(' ');

            int A = int.Parse(strr[0].ToString());

            int B = int.Parse(strr[1].ToString());

            if (A > B)

            {

                Console.WriteLine(">");

            }

            else if (A < B)

            {

                Console.WriteLine("<");

            }

            else

            {

                Console.WriteLine("==");

            }

        }

    }

}

 

 

 

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

백준 2739번  (0) 2019.09.27
백준 10817번  (0) 2019.09.27
백준 1110번  (0) 2019.09.27
백준 10951번  (0) 2019.09.26
백준 5622번  (0) 2019.09.26
: