1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00
Files
programming-challenges/challenges/acronyms/solutions/cs/function/Solution.cs
2021-09-05 10:54:20 +02:00

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);
}
}
}