<HTML>
<HEAD>
<TITLE>平均分表达式</TITLE>
</HEAD>
<BODY bgcolor="#ffffff">
<H1>五门学科的平均分</H1>
<FORM action="average.jsp">
  		<TABLE>
    			<TR>
      			<TD>输入英语分数: </TD>
<TD><INPUT type="text" value="${param.english}" name="english" size="5" maxlength="3"/> <B>/100 </B></TD>
    			</TR>
      		<TR>
      			<TD>输入化学分数: </TD>
<TD><INPUT type="text" value="${param.science}" name="science" size="5" maxlength="3"/> <B>/100 </B></TD>
    			</TR>
    			<TR>
      			<TD>输入历史分数: </TD>
<TD><INPUT type="text" value="${param.history}" name="history"  size="5" maxlength="3"/> <B>/100 </B></TD>
    			</TR>
    			<TR>
      			<TD>输入地理分数: </TD>
<TD><INPUT type="text" value="${param.geography}" name="geography"  size="5" maxlength="3"/> <B>/100 </B></TD>
    			</TR>
    			<TR>
      			<TD>输入数学分数: </TD>
<TD><INPUT type="text" value="${param.maths}" name="maths"  size="5" maxlength="3"/> <B>/100 </B></TD>
    			</TR>
      		<TR>
      			<TD>总分: </TD>
<TD>${param.english + param.science + param.history + param.geography + param.maths} /500</TD>
    			</TR>
    			<TR>
      			<TD>平均分: </TD>
<TD>${(param.english + param.science + param.history + param.geography + param.maths)/5}</TD>
    			</TR>
    			<TR>
      			<TD></TD>
<TD><INPUT type=submit value="提交"></TD>
    			</TR>
  		</TABLE>
</FORM>
</BODY>
</HTML>

