谁能救救我??VB习题在这!!!!!

来源:百度知道 编辑:UC知道 时间:2024/06/19 07:39:17
利用随机函数产生60个100~200之间的随机整数,将其中的偶数按由小到大的顺序排列并输出,将奇数按由大到小的顺序排列并输出。
1.将随机产生的60个整数按每行10个数输出到窗体或文本框中。
2.将排好序的偶数和奇数分别输出到两个文本框中。

posttime=60
if cint(posttime)<>0 then
if not isnull(session("posttime")) or cint(posttime)>0 then
if DateDiff("s",session("posttime"),Now())<cint(posttime) then
response.write("<script langguage=javascript>alert('请在"&posttime&"秒内不要重复留言.');history.back ()</script>")

response.end
end if
end if
end if