From 15ed4939b699ac82fe11432dc8e63eb8082e8cf1 Mon Sep 17 00:00:00 2001 From: Divyesh34 Date: Tue, 9 Oct 2018 14:53:11 +0530 Subject: [PATCH] pattern in c --- PrintPascal'striangle.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 PrintPascal'striangle.c diff --git a/PrintPascal'striangle.c b/PrintPascal'striangle.c new file mode 100644 index 0000000..8cf7bef --- /dev/null +++ b/PrintPascal'striangle.c @@ -0,0 +1,27 @@ +#include +int main() +{ + int rows, coef = 1, space, i, j; + + printf("Enter number of rows: "); + scanf("%d",&rows); + + for(i=0; i