简单问题 第一次打印1 【2】【3】【4】【5】第二次打印【1】2【3】【4】 【5】依次类推 最后一个为 【n-4】【n-3】【n-2】【n-1】n这个要怎么写 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 public static void main(String[] args) { int n = 5; for(int i = 1;i <= n; i++){ for(int j = 1;j <= n;j++){ if(j == i){ System.out.print(j); }else{ System.out.print("[" + j + "]"); } } System.out.println(""); } } mysql语句这样写提示语法错误,不能更新 两张表 请教:能用jsp替换asp(脱离iis) 怎样才能让页面不跳转 急,高手救命!getOutputStream() Exception (第二次发帖) 急!!字符串包含问题 关于jsp的取数问题,谢谢各位指教! tomcat4的8080端口被占用,不能运行servlet! 小问题,多给分! 为何取出的时间不是当前时间???????? 简单问题 CXF REST一些问题,用过的兄弟帮看下,怎么不展示父节点?怎么把数字加上双引号?字段为空也要展示节点?
int n = 5;
for(int i = 1;i <= n; i++){
for(int j = 1;j <= n;j++){
if(j == i){
System.out.print(j);
}else{
System.out.print("[" + j + "]");
}
}
System.out.println("");
}
}