Triangle ASCII art by smkt

main(n,a,b,c){while(~scanf("%d",&n)){for(a=0;a<n+1;a++){printf("|");for(b=0;b<a;b++)printf(a<n?" ":"_");puts("\\");}for(c=32;c--;)printf("*");puts("");}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page