Solved Problem 11

C# console solution for problem 11