Read details on the Pascal Triangle using this link: https://en.wikipedia.org/wiki/Pascal%27s_triangle
Run the code, you will be presented with two options. With one option you can getthe value at any specfied coordinates in the triangle and with the other option you can test the function CalculatePascalsTriangleValue function by printing out the Pascal triangle.
There are detailed comments in the solution , explaining how the code works.