C Program To Print inverted Pyramid star pattern
Jun 21, 2023
Ex: Write a C Program To Print inverted Pyramid star pattern. How to write a C Program To Print inverted Pyramid star pattern. C Program To Print inverted Pyramid star pattern.
Step by step logic of the given program:
1. Accept input(number) from user which shows number of rows, declare variable say no.
4. To print star use another one inner for loop from i to no :
5. For new row, move to next line using \n .
Example:
Originally published at https://codeforhunger.blogspot.com.