Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class test{
- public static void main(String[] args){
- System.out.print("Min: ");
- int min = Keyboard.readInt();
- System.out.print("Max: ");
- int max = Keyboard.readInt();
- for (int i = 0; i < 10; i++){
- System.out.println((int)(min + Math.random() * max));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement