백준

백준 27323번 c#

대왕군 2024. 2. 1. 16:18

 

 

using System;

namespace Baekjoon
{
    internal class Program
    {
        static void Main(string[] args)
        {
            //그냥 콘솔창 예쁘게 꾸미는 코드(심심해서 넣음)
            Console.BackgroundColor = ConsoleColor.DarkCyan;

            //길이 2인 배열 생성
            string[] input = new string[2];

            //각 배열에 입력값 받아옴
            input[0] = Console.ReadLine();
            input[1] = Console.ReadLine();

            //각 입력값 int로 형변환 후 곱하기 값 출력
            Console.WriteLine(int.Parse(input[0]) * int.Parse(input[1]));

        }

    }
}

 

'백준' 카테고리의 다른 글

백준 3009번 c#  (0) 2024.02.01
백준 1085번 c#  (0) 2024.02.01
백준 11653번 c#  (0) 2024.01.31
백준 2581번 c#  (0) 2024.01.31
백준 1978번 c#  (0) 2024.01.31