Write a program to create a Pascal's Triangle. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Write a program to create a Pascal's Triangle.

Code should contain user input for number of rows.

30th Jan 2018, 3:20 PM
Prabjeet Singh
7 Réponses
+ 14
have you tried yourself first ?
30th Jan 2018, 3:35 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
30th Jan 2018, 3:35 PM
Louis
Louis - avatar
+ 3
what is pascal triangle?
30th Jan 2018, 3:21 PM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
+ 2
It is an algorithm used in Binomial Theorem to find the nth power of given function.
30th Jan 2018, 3:23 PM
Prabjeet Singh
+ 1
@Louis it is really amazing
30th Jan 2018, 4:31 PM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
+ 1
@Gaurav, Yes I tried and wrote the code.
1st Feb 2018, 6:25 AM
Prabjeet Singh