28,391
社区成员
发帖
与我相关
我的任务
分享
<%
dim sum,x
sum=0
Randomize()
for i=1 to 5
x=int(100*Rnd()+1)
response.Write(x)
if(i<5) then
response.Write("+")
end if
sum=sum+x
next
response.Write("="&sum)
%>
<%
randomize
for i = 1 to 5
x = int(rnd * 100) + 1
response.write x
if i<5 then response.write "+"
sum = sum + x
next
response.write '=' & str(sum)
%>
for i = 1 to 5
x = int(rnd * 100) + 1
response.write x
if i<5 then response.write '+'
sum = sum + x
next
response.write '=' & str(sum)
<%
sum=0
Randomize()
for i=1 to 5
x=int(100*Rnd()+1)
sum=sum+x
next
response.Write(sum)
%>