<html>
<head>
<title>求两个数之和</title>
</head>
<body>
<%
x1=cint(request.Form("num1"))
x2=cint(request.Form("num2"))
y=x1+x2
%>
<form  action="" method="post">
输入第一个数字：<input type="text" name="num1" value="<%=x1%>"><br>
输入第二个数字：<input type="text" name="num2" value="<%=x2%>"><br>
两个数字之和是：<input type="text" name="sum" value="<%=y%>" readonly="readonly"><br>
<input type="submit" name="button1" value="计算之和">
</form>
</body>
</html>