Pattern #4
Program: #include <stdio.h> void main() { int i, j, k; for(i=4;i>=0;i--) { for(k=1;k<=i;k++) { printf(" "); } for(j=k;j<=5;j++) { printf("*"); } printf("\n"); } } Output: * ** *** **** ***** Drafted on 🌏 by, Jal ☮ peace