Created
December 12, 2016 19:20
-
-
Save Xmerr/b837542426a89a7b293d764618ffbc64 to your computer and use it in GitHub Desktop.
For Reddit easy challenge 295
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Reddit Easy Challenge 295