Last active
March 4, 2018 11:53
-
-
Save claire1220/099a72641264ad4058d696f4d770c79a to your computer and use it in GitHub Desktop.
20180225HW
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
3.請寫一個 Method, 接收最大亂數值、最小亂數值產生一個落在範圍裡的亂數,並印出 | |
public void printRandom(int max, int min){ | |
} | |
*/ | |
public class MaxMin{ | |
public void printRandom(int max, int min){ | |
double min = Math.min(); | |
double max = Math.max( ); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment