Skip to content

Commit 38a8e59

Browse files
Update mathematics/pascal_triangle.r
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3c4f247 commit 38a8e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mathematics/pascal_triangle.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ if (FALSE) {
306306
}
307307

308308
# Example 10: Large row computation
309-
cat("\nExample 10: Large Row Computation\n")
309+
cat("Last 5 elements:", paste(row50[47:51], collapse = ", "), "\n")
310310
cat("==================================\n")
311311
cat("Row 50 (too large to display fully):\n")
312312
row50 <- pascal_row(50)

0 commit comments

Comments
 (0)