Friday, August 15, 2014

Pascal's triangle

Here is another exercise from David Evans book Introduction to Computing, Explorations in Language, Logic, and Machines.

This is a possible solution for the Pascal's triangle exploration at the end of chapter 5:

It's a nice exercise to practise recursion.

No comments:

Post a Comment