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

  2.         public static void main(String[] args) {
  3.                 // TODO 自動產生的方法 Stub
  4.                  double r;
  5.          for(int i=0; i<=20; i++)
  6.          {
  7.                  r=Math.random();
  8.          System.out.println(r);
  9.          }
  10.         }

  11. }
複製代碼

TOP

返回列表