all AI news
Pascal’s Triangle: An Approach
Printing out Pascal’s Triangle in C whilst leveraging mathematical concepts.
To be honest about programming languages, I do not prefer writing code in C. However, due to a university module (in C), an exercise was to implement code that would print out Pascal’s up to the nth row.
Although C has ample support for larger integers (E.g., 20!), I decided to implement a simpler version of the set of computations. Before attempting to use combinatorics, I had gone through various …