0

How to write to get that output

1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1

20th Jun 2019, 3:18 PM
Nann Han Naing Oo
4 Answers
+ 1
This is known as Pascal's Triangle. Here is my code in C# which prints the triangle with as many rows as you want ;) https://code.sololearn.com/csZnoOHwuU8F/?ref=app
20th Jun 2019, 5:13 PM
Kamen Yosifov
Kamen Yosifov - avatar
+ 2
Have you attempted anything so far?
20th Jun 2019, 3:45 PM
Faisal
Faisal - avatar
0
Please help me: By using for loop to get that output
20th Jun 2019, 3:19 PM
Nann Han Naing Oo
0
Yes
20th Jun 2019, 3:55 PM
Nann Han Naing Oo