ASP的九九乘法表

<script language="vbs">
 dim total
 document.write"<table border='4'>"
  for i=i to 9
  total="<tr\>"
   for j=1 to 9
   total=total & "<td>" & i & "x" & j & "=" & i*j &"</td>"
   next
  document.write total & "</tr>"
  next
 document.write"</table>"
</script>

 

 

你可能感兴趣的:(职场,新手,asp,休闲,基础程序)