프로그래머스

프로그래머스 - Lv.0 문자열 출력하기

MuscleDeveloper5683 2024. 9. 4. 17:21
728x90
SMALL

 

문제 - 문자열 출력하기

 

 

 

 

풀이

 

using System;

public class Example
{
    public static void Main()
    {
        String s = "HelloWorld!";
        Console.Clear();
        s = Console.ReadLine();
        
        if(1 < s.Length && s.Length < 1000000)
            Console.WriteLine(s);
        else 
            return;
    }
}

 

 

 

728x90