返回列表 發帖
  1. public class B
  2. {
  3.         public static void main(String[] args)
  4.         {
  5.                
  6.                 int score[][]={{90,85,85},{56,48,91},{87,56,55},{23,25,53},{88,82,95}};
  7.         System.out.println("座號\t國文\t英文\t數學");
  8.         System.out.println("============================");
  9.         for(int i=0; i<3; i++)
  10.         {
  11.                 System.out.print((i+1)+"\t");
  12.             for(int j=0; j<4; j++)
  13.             {
  14.                     System.out.println(score[i][j]+"\t");
  15.             }
  16.         }
  17.         }
  18. }
複製代碼

TOP

返回列表