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