返回列表 發帖
本帖最後由 尤爾璿 於 2023-1-6 20:56 編輯
  1. public class Ch01 {

  2.         public static void main(String[] args) {
  3.                 // TODO 自動產生的方法 Stub
  4.                 double r;
  5.                 while( i<=30)
  6.                 for(int i=1;i<=30;i++){
  7.                         r=(Math.random()*10+123);
  8.                         System.out.println(r);
  9.                 }
  10.         }
  11. }   
複製代碼

TOP

返回列表