返回列表 發帖
  1. {
  2.    public static void main(String args[])
  3.    {
  4.      int a[]={28,33,34,30};
  5.      for(int i=0; i<=3; i++)
  6.      {
  7.        System.out.println("五年"+(i+1)+"班: "+a[i]+"人");
  8.      }
  9.    }
  10. }
複製代碼

TOP

返回列表