Create a script that generates Pascal Triangle. Accept number of rows from the command line. The Pascal Triangle should have at least 3 rows. For more information about Pascal Triangle, check this wikipedia page.
I don't know why there is a restriction in the number of rows. Here's my quick&dirty answer:
Here's how to use it:
Here's how to use it:
Nenhum comentário:
Postar um comentário