프로그래머스
두 개의 문자열
str1,str2가 공백으로 구분되어 입력으로 주어집니다.
입출력 예와 같이str1과str2을 이어서 출력하는 코드를 작성해 보세요.
apple pen
applepen
Hello World!
HelloWorld!
using System;
public class Example
{
public static void Main()
{
String[] input;
Console.Clear();
input = Console.ReadLine().Split(' ');
String s1 = input[0];
String s2 = input[1];
Console.WriteLine($"{s1}{s2}");
}
}
정확성: 100.0
합계: 100.0 / 100.0