Christmas tree by nn

s;main(i,n){for(n=~-atoi(gets(n));i--+n;printf("%*s\n",n-i%n,strcat(&s,"**")+1))s*=-i<n;}

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

download

return to the top page