public static void main(String[] args) {
		Scanner input = new Scanner (System.in);
		ArrayList <Integer> List = new ArrayList <Integer>();
		
		double one,two;
		
		System.out.println("Enter a double: ");
		one = input.nextDouble();
		
		System.out.println("Enter a second double: ");
		two = input.nextDouble();
		
		if(one < Integer.MIN_VALUE){
			System.out.println("Your number is too low. ");
			one = (int) one;
		}
		else if(one > Integer.MAX_VALUE){
			System.out.println("Your number is too high. ");
			one = (int) one;
		}
		
		if(two < Integer.MIN_VALUE){
			System.out.println("Your number is too low. ");
			one = (int) one;
		}
		else if(two > Integer.MAX_VALUE){
			System.out.println("Your number is too high. ");
			one = (int) one;
		}
		
		for(int i = 0; i < 10; i++){
		int g =(int)(Math.floor(Math.random()* two-one)+one);
		List.add((int) g);
		}
		
		
		/*if(one < 0){
			int a = (int) Math.abs(one);
		}
		
		if(two < 0){
			int bc = (int)Math.abs(two);
		}*/
		
		List.set(5, 99);
		List.set(8, 100);
		
		System.out.println(List);
		
		if(List.get(3)< List.get(7)){
			System.out.println("Your number is smaller");
		}
		
		else if(List.get(3)> List.get(7)){
			System.out.println("Your number is smaller");
		}
		
		
		input.close();
		
	}