用VBSCRIPT或者JAVASCRIPT怎么实现?
1 2 3 4 5 6 7 8 9 0
2 * * * * * * * * *
3 * * * * * * * * *
4 * * * * * * * * *
5 * * * * * * * * *
6 * * * * * * * * *
7 * * * * * * * * *
8 * * * * * * * * *
9 * * * * * * * * *
0 * * * * * * * * *
[CODE]<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY onLoad="putOut()">
<script language="javascript">
function putOut(){
var count = 10;
var i,j;
for(i=1;i<=count;i++){
for(j=1;j<=count;j++){
if(j==1){
if(i==10){
document.write(0)
}else{
document.write(i)
}
}else{
if(i==1){
if(j==10){
document.write(0)
}else{
document.write(j)
}
}else{
document.write("*")
}
}
}
document.write("<BR>")
}
}
</script>
</BODY>
</HTML>[/CODE]