백준 11809 알파벳 찾기

Console Programming/C# Console 2019. 10. 8. 03:16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace _10809
{
    class Program
    {
        static void Main(string[] args)
        {
            string input = Console.ReadLine();
 
 
            for(int i = 97; i<123; i++)
            {
                Console.Write(input.IndexOf((char)i));
                Console.Write(' ');
            }
            
 
        }
    }
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 

 

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

백준 2675 문자열 반복  (0) 2019.10.08
백준 2675 문자열 반복  (0) 2019.10.08
10.03 11일차 클래스 (29) 질럿,드라군 공격사거리  (0) 2019.10.08
11일차 클래스(23)  (0) 2019.10.04
11일차 클래스(22)  (0) 2019.10.04
: