12
Exercise 1.12: The following pattern of numbers is called Pascalās triangle.
The numbers at the edge of the triangle are all 1, and each number inside the triangle is the sum of the two numbers above it. Write a procedure that computes elements of Pascalās triangle by means of a recursive process.
Last updated
Was this helpful?