Skip to content

Instantly share code, notes, and snippets.

@claire1220
Last active March 4, 2018 11:53
Show Gist options
  • Save claire1220/099a72641264ad4058d696f4d770c79a to your computer and use it in GitHub Desktop.
Save claire1220/099a72641264ad4058d696f4d770c79a to your computer and use it in GitHub Desktop.
20180225HW
/*
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