출제 링크 : https://www.acmicpc.net/problem/1008
코드
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using System;
namespace baekjoon
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
Console.WriteLine(double.Parse(arr_input[0]) / double.Parse(arr_input[1]));
}
}
}
|
* 소수 9번째 자리까지 표시하기 위해서 double 형으로 바꿔줬다.