Exercise 1.12. The following pattern of numbers is called Pascal's triangle.
![](http://mitpress.mit.edu/sicp/full-text/book/ch1-Z-G-17.gif)
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.35Write a procedure that computes elements of Pascal's triangle by means of a recursive process.
(define (pascal row col)
(cond ((= col 1) 1)
((= row col) 1)
(else (+ (pascal (- row 1) col)
(pascal (- row 1) (- col 1))))))