i quite wonder why.
this is a M made of *,well,i want several more of it,then i add outside the block a do-while function,like this,Code:while (i<=4) {for(j=0;j<17;j++) {if(j==4+i||j==4-i||j==12+i||j==12-i) printf("*"); else printf(" "); } printf("\n"); i++; }
it doesn't output anything but a move of cursoe.Code:m=0; do{ while (i<=4) {for(j=0;j<17;j++) {if (j==4+i||j==4-i||j==12+i||j==12-i) printf("*"); else printf(" "); } printf("\n"); i++; } m++; }while(m<=100)