<script language="JavaScript"> <!-- ; var x, y; document.writeln("<P><table align='center' border='0' cellspacing='15' cellpadding='6'><tr><td >"); document.writeln("<pre>"); for( x = 1; x<=10; x++ ) { for( y = 1; y<=x; y++ ) { document.write("*"); } document.write("<BR>"); } document.writeln("</pre>"); document.writeln("</td><td >"); document.writeln("<pre>"); for( x = 10; x>=1; x-- ) { for( y = 1; y<=x; y++ ) { document.write("*"); } document.write("<BR>"); } document.writeln("</pre>"); document.writeln("</td><td >"); document.writeln("<PRE>"); for( x = 10; x>=1; x-- ) { for(y=1; y<=(10-x); y++ ) document.write(" "); for( y = 1; y<=x; y++ ) document.write("*"); document.writeln(""); } document.writeln("</pre>"); document.writeln("</td><td >"); document.writeln("<pre>"); for( x = 1; x<=10; x++ ) { for(y=1; y<=(10-x); y++ ) document.write(" "); for( y = 1; y<=x; y++ ) document.write("*"); document.writeln(""); } document.writeln("</PRE>"); document.writeln("</td></tr></table>"); // end hide --> </script>