Print Yang Hui Triangle (JS)

xiaoxiao2021-03-06  66

According to the formula: (a b)

n = c

n

mA

0B

N ... C

k

NA

KB

N-K ... C

n

NA

NB

0