[프로그래머스 | C# | Lv.0] a와 b 출력하기

728x90

https://school.programmers.co.kr/learn/courses/30/lessons/181951

📝 나의 풀이

using System;

public class Example
{
    public static void Main()
    {
        String[] s;

        Console.Clear();
        s = Console.ReadLine().Split(' ');

        int a = Int32.Parse(s[0]);
        int b = Int32.Parse(s[1]);

        Console.WriteLine("a = {0}", a);
        Console.WriteLine("b = {0}", b);
    }
}
728x90