gregorybleiker / cstest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pascals Triangle

Welcome to Pascals Triangle on Exercism's C# Track. If you need help running the tests or submitting your code, check out HELP.md.

Instructions

Compute Pascal's triangle up to a given number of rows.

In Pascal's Triangle each number is computed by adding the numbers to the right and left of the current position in the previous row.

    1
   1 1
  1 2 1
 1 3 3 1
1 4 6 4 1
# ... etc

Source

Created by

  • @ErikSchierboom

Contributed to by

  • @bcwood
  • @bmeverett
  • @j2jensen
  • @jwood803
  • @robkeim
  • @wolf99

Based on

Pascal's Triangle at Wolfram Math World - http://mathworld.wolfram.com/PascalsTriangle.html

About


Languages

Language:C# 100.0%