Sha256: 6d6e1a3ca3d5e1cc930eb389387b41408ee5c4af0272e52806d2779a813ec718

Contents?: true

Size: 912 Bytes

Versions: 11

Compression:

Stored size: 912 Bytes

Contents

# Pascals Triangle

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.

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

### Submitting Exercises

Note that, when trying to submit an exercise, make sure you're exercise file you're submitting is in the `exercism/csharp/<exerciseName>` directory.

For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/csharp/bob/bob.cs`.
## Source

Pascal's Triangle at Wolfram Math World [http://mathworld.wolfram.com/PascalsTriangle.html](http://mathworld.wolfram.com/PascalsTriangle.html)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
trackler-2.2.1.6 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.1.5 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.1.4 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.1.3 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.1.2 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.1.1 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.1.0 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.0.6 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.0.5 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.0.4 tracks/csharp/exercises/pascals-triangle/README.md
trackler-2.2.0.3 tracks/csharp/exercises/pascals-triangle/README.md