프로그래머스 C# a와 b 출력하기

2023. 5. 23. 08:21C# 알고리즘 코딩(프로그래머스)

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("{0}","a = " + a);
        Console.WriteLine("{0}","b = " + b);
    }
}