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

TOP

返回列表