
출제 링크 : https://www.acmicpc.net/problem/10951
10951번: A+B - 4
두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solution
{
class Program
{
static void Main(string[] args)
{
StringBuilder sb = new StringBuilder();
bool repeat = true;
while (repeat)
{
string numbers = Console.ReadLine();
if (numbers==null) break;
string[] AB = numbers.Split(' ');
int A = int.Parse(AB[0]);
int B = int.Parse(AB[1]);
int Sum = A + B;
Console.WriteLine(Sum);
}
}
}
}
