<%@page contentType="text/html;charset=gbk" %>
<HTML>
<HEAD>
<TITLE>运算</TITLE>
</HEAD>
<BODY bgcolor="#ffffff">
<H1>输入两个整数</H1>
<FORM action=" count.jsp">
  		<TABLE border="1">
<TR>
<TD><B>数字 1</B></TD>
<TD><B>运算符</B></TD>
<TD><B>数字 2<B></TD>
<TD><B>结果</B></TD>
</TR>
<TR>
  			<TD><INPUT type="text" name="num1" value="${param.num1}" size="5" maxlength="3"/></TD>
  			<TD width=20 align="center"><B>+</B></TD>
  			<TD><INPUT type="text" name="num2" value="${param.num2}" size="5" maxlength="3"/></TD>
  			<TD>${param.num1+param.num2}</TD>
</TR>
<TR>
  			<TD><INPUT type="text" name="num3" value="${param.num1}" size="5" maxlength="3"/></TD>
  			<TD width=20 align="center"><B>-</B></TD>
  			<TD><INPUT type="text" name="num4" value="${param.num2}" size="5" maxlength="3"/></TD>
  			<TD>${param.num3-param.num4}</TD>
</TR>

<TR>
  			<TD><INPUT type="text" name="num5" value="${param.num3}" size="5" maxlength="3"/></TD>
  			<TD width=20 align="center"><B>*</B></TD>
  			<TD><INPUT type="text" name="num6" value="${param.num4}" size="5" maxlength="3"/></TD>
  			<TD>${param.num5*param.num6}</TD>
</TR>
<TR>
  			<TD><INPUT type="text" name="num7" value="${param.num5}" size="5" maxlength="3"/></TD>
  			<TD width=20 align="center"><B>/</B></TD>
  			<TD><INPUT type="text" name="num8" value="${param.num6}" size="5" maxlength="3"/></TD>
  			<TD>${param.num7 /param.num8}</TD>
</TR>
</TABLE>
<INPUT type="submit" value="结果"/>
</FORM>
</BODY>
</HTML>
