0
show ***** squear
<html><body><script type="text/javascript"> for (i = 1 ; i <=5 ; i++){ document.write ("<br/>") for ( j=1 ; j <=5 ; j++) { if (i == 1 || i == 5 || j == 1 || j == 5) { document.write (" *" )} else if (j > 1 || j < 5){ document.write ( " ") }} }; </script></body></html>
1 Antwort
+ 1
for(var i=1;i<=5;i++){
for(var j=1;j<=5;j++){
document.write("*");
}
document.write("<br>");
}