谁能用 VBscript 编写 九九乘法表 帮帮我 (格式如下)
vbscript吧
全部回复
仅看楼主
level 1
Clook 楼主
1*1=11*2=2 2*2=41*3=3 2*3=6 3*3=91*4=4 2*4=8 3*4=12 4*4=161*5=5 2*5=10 3*5=15 4*5=20 5*5=25按这种格式 请帮我编一个行吗? 我急用 要教作业的 本人笨 初学者 请指教
2006年05月25日 14点05分 1
level 1

algol
text01.innertext="" for i=1 to 5 for t=1 to i document.write text01.innertext&t&"×"&i&"="&t*i&" " next document.write "<p>"next
2006年05月26日 09点05分 2
level 1
上课要好好听讲了!
2006年05月26日 09点05分 3
level 0
我也会课本上有啊,应该看看课本.
2007年01月02日 12点01分 4
level 1

九九乘法表
dim i,jdocument.write "<table>"i=1do while i<=9document.write "<tr>"j=1 do while j<=idocument.write "<td>"document.write j&"X"&i&"="&(i*j)document.write "</td>"j=j+1loopdocument.write "</tr>"i=i+1loopdocument.write "</table>"
2007年05月18日 01点05分 5
level 1
偶也有个笨法.
for i=1 to 9for j=1 to 9 if j=9 then if i=9 and j=9 then HHH=HHH&" "&j & "*" & i & "=" & i*j else HHH=HHH &vbcrlf end if else if i>j or i=j then HHH=HHH& " "&j & "*" & i & "=" & i*j end if end ifnextnextmsgbox HHH,,"九九乘法表"
2007年05月27日 11点05分 6
level 1
for i=1 to 9for j=1 to iwscrip.stdout.write cstr(i)+"*"+cstr(j)+"="+cstr(i*j)+" "nextwscript.echo ""next
2007年12月01日 15点12分 7
level 1
for i=1 to 9for j=1 to iwscript.stdout.write cstr(i)+"*"+cstr(j)+"="+cstr(i*j)+" "nextwscript.echo ""next
2007年12月01日 15点12分 8
1