Java實現獲取任意範圍的隨機數

方法一java import java.util.Scanner; public class MathDemo2 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.println("請輸入兩個數字"); int start=sc.nextInt(); int e
相關文章
相關標籤/搜索