본문 바로가기
백준 문제/C#

10869 C#

by 보안매크로 2023. 6. 25.
728x90

string[] a = Console.ReadLine().Split();
int A = int.Parse(a[0]);
int B = int.Parse(a[1]);
Console.WriteLine(A + B);
Console.WriteLine(A - B);
Console.WriteLine(A * B);
Console.WriteLine(A / B);
Console.WriteLine(A % B);

728x90

'백준 문제 > C#' 카테고리의 다른 글

10430 C#  (0) 2023.06.25
18108 C#  (0) 2023.06.25
1003 C#  (0) 2023.06.25
1002 C#  (0) 2023.06.25
1001 C#  (0) 2023.06.25