From 1b09f0e1118ac3e82f96d527ab58f28ed40bb8a0 Mon Sep 17 00:00:00 2001 From: Mukul Verma <48083984+Mukul-V@users.noreply.github.com> Date: Fri, 22 Oct 2021 18:30:53 +0530 Subject: [PATCH] Add new Pyramid File --- pattern/pyramids2 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pattern/pyramids2 diff --git a/pattern/pyramids2 b/pattern/pyramids2 new file mode 100644 index 0000000..d87e1a3 --- /dev/null +++ b/pattern/pyramids2 @@ -0,0 +1,24 @@ +#include + +int main(){ + int i,j,n; + printf("Enter the number of Rows you want ?"); + scanf("%d",&n); + + for(i=1;i