标签:
1 <% 2 String str = ""; 3 for(int i = 1; i <= 5; i++){ 4 for(int j = 1; j <= 5-i; j++){ 5 str +=" "; 6 } 7 for(int k = 1; k <= 2*i-1; k++){ 8 str +="☆"; 9 } 10 str +="<br>"; 11 } 12 %> 13 <%= str %>
标签:
原文地址:http://www.cnblogs.com/ouyangtangfeng99/p/5609228.html