返回列表 發帖
  1. public class A01 {

  2.         public static void main(String[] args) {
  3.                  for(int i=1; i<=10; i+=1){
  4.                      if(i==5)
  5.                          break;
  6.                      System.out.println(i);
  7.                 }
  8.                 for(int i=1; i<=10; i+=1){
  9.                      System.out.println(i);
  10.                 }
  11.        
  12.         }
  13.        
  14. }
複製代碼

TOP

返回列表