i want to get output asCode:#include<stdio.h> main() { int i,j; for(i=0;i<5;i++) printf("\n"); for(j=0;j<5;j++) { if(i>=j) printf("* "); else printf(" "); } }
*
**
***
****
*****
but the above code did not work....please help me where it went wrong.....