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

TOP

返回列表