Getting random numbers in Java · double random = Math.random() * 50 + 1; · random = (int )(Math.random() * 50 + 1);.
確定! 回上一頁