C Program To Print Hollow Star Pyramid
Here, we will print the hollow star pyramid pattern using a C program. Input: n = 5 Output: * * * * * * * *********** C/C++ Code // C Program to Demonstrate // a Hollow Star Pyramid #include <stdio.h> int main() { int i, space, n = 5, j = 0; // first for loop is used to // iterate number of rows for (i = 0; i < n - 1; i++) { // second for