C#/Algorithm

10.07 str.Replace( x, y ) 활용

미고렝 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