백준 1008 A/B

Console Programming/C# Console 2019. 9. 25. 16:53
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
 
namespace Syntax17
{
    class Program
    {
        static void Main(string[] args)
        {
            string input = Console.ReadLine();
            string[] arr = input.Split(' ');
            double a = double.Parse(arr[0]);
            double b = double.Parse(arr[1]);
 
            Console.WriteLine(a / b);
        }
    }
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 

 

'Console Programming > C# Console' 카테고리의 다른 글

백준 10430 나머지  (0) 2019.09.25
백준 10869 사칙연산  (0) 2019.09.25
백준 10998 AxB  (0) 2019.09.25
백준 1001 A-B  (0) 2019.09.25
백준 1000 A+B  (0) 2019.09.25
: