From c36bbcf5b4280a6fcd554d3a12b0d6a97cd1bfad Mon Sep 17 00:00:00 2001 From: JERIK GEORGE <107117081+jerik-george@users.noreply.github.com> Date: Sat, 19 Oct 2024 20:35:39 +0100 Subject: [PATCH] Create hollowpyramidstarpatter.c --- hollowpyramidstarpatter.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 hollowpyramidstarpatter.c diff --git a/hollowpyramidstarpatter.c b/hollowpyramidstarpatter.c new file mode 100644 index 0000000..9c7a17b --- /dev/null +++ b/hollowpyramidstarpatter.c @@ -0,0 +1,27 @@ +#include + +int main() +{ + int n,m=1; + printf("Enter the number of rows"); + scanf("%d",&n); + + for(int i=n;i>=1;i--) + { + for(int j=1;j