From 58b32c5933a8eadba39803476e790c1804dd8bc5 Mon Sep 17 00:00:00 2001 From: KeerthiBhushanM Date: Mon, 28 Feb 2022 13:03:02 +0530 Subject: [PATCH] Added keerthi assignment --- .../git assignment numeric pyramid.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 KEERTHI_211EC226/git assignment numeric pyramid.txt diff --git a/KEERTHI_211EC226/git assignment numeric pyramid.txt b/KEERTHI_211EC226/git assignment numeric pyramid.txt new file mode 100644 index 0000000..1bbbacc --- /dev/null +++ b/KEERTHI_211EC226/git assignment numeric pyramid.txt @@ -0,0 +1,19 @@ +#include +void main() +{ + int n,k; + printf("Enter a number\n"); + scanf("%d",&n); + for(int i=1;i<=n;i++) + { + for(int j=1;j<=n-i;j++) + { + printf(" "); + } + for(int m=0; m