<% 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>
以上就是小編為大家?guī)?lái)的jsp輸出九九乘法表的簡(jiǎn)單實(shí)例全部?jī)?nèi)容了,希望大家多多支持VeVb武林網(wǎng)~
新聞熱點(diǎn)
疑難解答
圖片精選