Skip to content

Instantly share code, notes, and snippets.

@Xmerr
Created December 12, 2016 19:20
Show Gist options
  • Save Xmerr/b837542426a89a7b293d764618ffbc64 to your computer and use it in GitHub Desktop.
Save Xmerr/b837542426a89a7b293d764618ffbc64 to your computer and use it in GitHub Desktop.
For Reddit easy challenge 295
using System;
class Program
{
static void Main(string[] args)
{
string input1 = Console.ReadLine();
string input2 = Console.ReadLine();
Console.Clear();
for(int i = 0; i <= input1.Length; i++)
{
Console.Write(input2.Substring(0, i));
Console.Write(input1.Substring(i));
Console.WriteLine();
}
Console.ReadKey();
}
}
@Xmerr
Copy link
Author

Xmerr commented Dec 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment