asp判断三个数子的大小

  • 格式:doc
  • 大小:24.50 KB
  • 文档页数:1

<%
a=1
b=4
c=2
'判断最大值
if a>b then
if a>c then
response.write a
else
response.write c
end if
else
if b>c then
response.write b
else
response.write c
end if
end if

'判断最小值
if aif aresponse.write a
else
response.write c
end if
else
if bresponse.write b
else
response.write c
end if
end if

%>