10.07 str.Replace( x, y ) 활용

C#/Algorithm 2019. 10. 7. 17:07

코드:

1
2
3
4
5
6
7
8
9
class Program
    {
        static void Main(string[] args)
        {
            string str = Console.ReadLine();
            string str2 = str.Replace(".""[.]");
            Console.WriteLine(str2);
        }
    }
http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4ftext-decoration:none">Colored by Color Scripter
 

'C# > Algorithm' 카테고리의 다른 글

1546 평균  (0) 2019.10.15
2920 음계  (0) 2019.10.10
더하기 사이클  (0) 2019.09.27
클래식 다이얼  (0) 2019.09.26
돌 게임  (0) 2019.09.26
: