5 write a function called fun10 that returns the first n rows of the bell triangle w 5328072

5. Write a function called fun10 that returns the first n rows of the Bell triangle, where n is an input argument. The function must return an nxn array where the top left triangle contains the Bell triangle with each row of the Bell triangle positioned diagonally — bottom-left-to-upper-right — and the bottom right triangle contains only zeros. If n is not a positive integer, the function returns an empty array. For instance, fun10(7) should return the following array:

Attachments:

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now