Skip to content

Commit df6ca24

Browse files
committed
clarification as per email
1 parent 78a1589 commit df6ca24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

xml/chapter1/section2/subsection2.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,11 @@ f_recursive(5);
675675
</SPLITINLINE>
676676
that computes elements of Pascal<APOS/>s triangle by means of a recursive
677677
process.
678-
<SOLUTION>
678+
<SOLUTION>
679+
Assuming that we count the rows of the triangle from the top starting
680+
at 1 and the numbers in each row using indices from left to right
681+
starting at 1, the following function computes the number in the
682+
triangle in a given row at a given index.
679683
<SNIPPET>
680684
<NAME>pascal_triangle</NAME>
681685
<EXAMPLE>example_1.13</EXAMPLE>

0 commit comments

Comments
 (0)