返回列表 發帖
  1. package bbs.istak.org.tw;

  2. public class MAIN {

  3.         public static void main(String[] args) {
  4.                 // TODO 自動產生的方法 Stub
  5.            int random=(int) (Math.random()*10+1);
  6.            System.out.println(random);
  7.         }

  8. }
複製代碼

TOP

返回列表