返回列表 發帖
  1. public class Ch01
  2. {
  3.         public static void main(String[] args)
  4.         {
  5.                 double r;
  6.                 for(int i=0; i<=20; i++)
  7.                 {
  8.                     r=Math.random();
  9.                         System.out.println(r);
  10.                 }
  11.         }
  12. }
複製代碼

TOP

返回列表