Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _09.IndexOfLetters
- {
- public class IndexOfLetters
- {
- public static void Main()
- {
- string word = Console.ReadLine();
- foreach (char letter in word)
- {
- Console.WriteLine($"{letter} -> {letter - 'a'}");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement