백준 10809 알파벳 찾기
Console Programming/C# Console 2019. 11. 5. 23:45
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(' ');
}
}
}
}

'Console Programming > C# Console' 카테고리의 다른 글
백준 1157 단어 공부 (0) | 2019.11.05 |
---|---|
백준 11654 아스키 코드 (0) | 2019.11.05 |
백준 10828 스택 (0) | 2019.11.04 |
2019-10-31 Idexer, LinkedList(직접만든) 사용한 인벤토리 (0) | 2019.10.31 |
2019-10-31 System.NullReferenceException 인벤토리를 Indexer와 Linked List를 사용하여 구현 (0) | 2019.10.31 |