<% String st = "";
for(int i = 1; i <= 9; i++){
for(int j = 1; j <= i; j++){
st += j+"x"+i+"="+i*j;
st += " ";
}
st += "<br>";
}
%>
<table width="400" height="200" cellpadding="0" cellspacing="0" border="1" bordercolor="red" bgcolor="blue" >
<tr bgcolor="yellow">
<td height="40" align="center">九九乘法表</td></tr>
<tr>
<td rowspan="4"><%= "<br>" + st %></td></tr>

以上就是小编为大家带来的jsp输出九九乘法表的简单实例全部内容了,希望大家多多支持脚本之家~
最后
以上就是灵巧跳跳糖最近收集整理的关于jsp输出九九乘法表的简单实例的全部内容,更多相关jsp输出九九乘法表内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复