Friday, February 10, 2006

Sierpinski triangle

Saw this on someone's slashdot signature. Copy, paste, compile and run.


main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}

No comments:

Post a Comment