西兰花伟大炮
<script>
var arrorigin = new Array();
arrorigin[0] = [0,0,0,0,1,1,1,0,0,0,0];
arrorigin[1] = [0,0,0,1,1,1,1,1,0,0,0];
arrorigin[2] = [0,0,1,1,1,1,1,1,1,0,0];
arrorigin[3] = [0,1,1,1,1,1,1,1,1,1,0];
arrorigin[4] = [1,1,1,1,1,1,1,1,1,1,1];
for (var i = 0;i < arrorigin.length;i++){
for (var j = 0;j < arrorigin[0].length;j++){
if (arrorigin[i][j] == 0){
document.write(" ");
}else {
document.write("*");
}
if (j == arrorigin[0].length - 1){
document.write("<br>");
}
}
}
</script>千辛万苦想了个蠢办法,佩服自己