返回列表 發帖
本帖最後由 洪浚恩 於 2023-1-6 20:55 編輯
  1. public class Ch01
  2. {
  3.     public static void main(String args[])
  4.     {
  5.          int q;
  6.          int i=0;
  7.          while(i<=30)
  8.          {
  9.              q=(int)(Math.random()*10+123);
  10.              System.out.println(q);
  11.                 i++
  12.          }
  13.     }
  14. }
複製代碼

TOP

返回列表