본문 바로가기
알고리즘/백준 BOJ

[BOJ/C#] 1008 : A/B

by 왹져박사 2024. 11. 11.
using System;

namespace AB
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] arrStr = Console.ReadLine().Split(' ');

            double a = double.Parse(arrStr[0]);
            double b = double.Parse(arrStr[1]);

            double answer = a / b;

            Console.WriteLine(answer);
        }
    }
}

 

https://www.acmicpc.net/problem/1008