C#

백준 10998 : A×B

RIsN 2020. 11. 13. 22:36

두 정수 A와 B를 입력받은 다음, A×B를 출력하는 프로그램을 작성하시오.

첫째 줄에 A와 B가 주어진다. (0 < A, B < 10)
첫째 줄에 A×B를 출력한다.

:: 성공

: 개선점 : 없음

using System;

namespace Print05
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] input = Console.ReadLine().Split(' ');
            Console.WriteLine("{0}", Int32.Parse(input[0]) * Int32.Parse(input[1]));
        }
    }
}