首页 > 开发 > JSP > 正文

jsp输出九九乘法表的简单实例

2019-10-27 18:00:21
字体:
来源:转载
供稿:网友
<%  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输出九九乘法表的简单实例全部内容了,希望大家多多支持CuoXin错新网~

 


注:相关教程知识阅读请移步到JSP教程频道。
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表