Advertisement
2629881

Untitled

Jul 19th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1.   int count = int.Parse(Console.ReadLine());
  2.  
  3.             for (int i = 0; i < count; i++)
  4.             {
  5.                 char ch = Convert.ToChar(Console.Read());
  6.                 if (Char.IsLetter(ch))
  7.                 {
  8.                    Console.Write(ch);
  9.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement