pattern program 1
Program - 1
/*C program to print following Pyramid: * ** *** **** ***** */ #include<stdio.h> #define MAX 5 int main() { int i,j; for(i=0; i< MAX; 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 - 1
Output
need an explanation for this answer? contact us directly to get an explanation for this answer