Monday, November 21, 2005

Pyramids

<?php $max = 70; for ($i=0;$i<$max;$i++) { for ($j=0;$j<$i;$j++) { print "#"; } print "\n"; } for ($i=$max;$i>0;$i--) { for ($j=0;$j<$i;$j++) { print "#"; } print "\n"; } ?>

You wonder why IRC flooders don't just use the above ....


reisio: #
reisio: ##
reisio: ###
reisio: ####
reisio: #####
MDCore: Don't you have work to do? !?
reisio: ####
reisio: ###
reisio: ##
reisio: #

1 comment:

Anonymous said...

...because PHP is dookey? :p