+ 8

Challenge :- Pascal triangle without using array and recursion. Can you solve it ??

:- 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 This is the 1st 6 lines of pascal triangle. Write a program to input n and print n lines of pascal triangle

9th Feb 2018, 5:12 AM
Mr.Curious
Mr.Curious - avatar
7 Antworten
9th Feb 2018, 6:42 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 10
can we use loops 😅
9th Feb 2018, 6:10 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
23rd Feb 2018, 10:15 AM
Mr.Curious
Mr.Curious - avatar
+ 3
i want to post this challenge too 😂😂 this is my code https://code.sololearn.com/cMdj7e28iLxx/?ref=app
23rd Feb 2018, 11:27 AM
Baraa AB
Baraa AB - avatar
+ 2
@ gaurav yes of course
9th Feb 2018, 6:32 AM
Mr.Curious
Mr.Curious - avatar