返回列表 發帖
本帖最後由 周雍程 於 2014-11-29 17:30 編輯
  1. public class ch36
  2. {
  3.     public static void main(String args[])
  4.     {
  5.           int n[]={28,33,34,30};
  6.           for(int i=0; i<=4; i++)
  7.           {
  8.               System.out.println("五年"+(i+1)+"班"+n[i]+"人");
  9.           }
  10.     }
  11. }
複製代碼

TOP

返回列表