pattern program 2
Program - 2
/*C program to print following Pyramid: ***** **** *** ** * */ #include<stdio.h> #define MAX 5 int main() { int i,j; for(i=MAX; i>=0; i--) { for(j=0;j<=i;j++) { printf("*"); } printf("\n"); } return 0; }
Output
***** **** *** ** *
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Program - 2
Output
need an explanation for this answer? contact us directly to get an explanation for this answer