코딩테스트/[C#] 프로그래머스

[프로그래머스 | C# | Lv.0] 문자열 돌리기

냠냠쿠 2023. 9. 24. 21:11
728x90

 

https://school.programmers.co.kr/learn/courses/30/lessons/181945

 

📝 나의 풀이

using System;

public class Example
{
    public static void Main()
    {
        String s;

        Console.Clear();
        
        s = Console.ReadLine();
        
        char[] tmp = s.ToCharArray();
        
        for(int i=0; i<tmp.Length; i++){
            Console.WriteLine(tmp[i]);
        }


    }
}
728x90