Pascal triangle! write a function(in OCaml) val nextpascalrow : int list -> int list = that given a list of integers that correspond to a row of the pascal triangle, it calculates the next row of the...


 Pascal triangle! write a function(in OCaml)


val nextpascalrow : int list -> int list = that given a list of integers that correspond to a row of the pascal triangle, it calculates the next row of the pascal triangle.


# nextpascalrow [1; 6; 15; 20; 15; 6; 1];;


- : int list = [1; 7; 21; 35; 35; 21; 7; 1]



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here