mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-12-08 00:45:29 +01:00
20 lines
423 B
C#
20 lines
423 B
C#
|
using System;
|
||
|
|
||
|
namespace Solution
|
||
|
{
|
||
|
class Program
|
||
|
{
|
||
|
static void Main()
|
||
|
{
|
||
|
string line = Console.ReadLine();
|
||
|
string[] words = line.Replace("\"", "").Split(' ');
|
||
|
string result = "";
|
||
|
foreach (string word in words)
|
||
|
{
|
||
|
result += word[0].ToString().ToUpper();
|
||
|
}
|
||
|
Console.WriteLine(result);
|
||
|
}
|
||
|
}
|
||
|
}
|