Generating a random number in java based on user inputs for max and min
<p>I having a little trouble trying to genertae a radom set of numbers with what the user defines as max and min, I am new to programming and feel a little lost with my code</p>

<pre><code>int upperRange;
int lowerRange;
Random random = new Random(int)(Math.random()*(upperRange - (lowerRange-1)))+lowerRange;

Scanner keyboard = new Scanner(System.in);


{

System.out.println("Enter upper limit number ");
upperRange = keyboard.nextInt();
System.out.println("Enter lower limit number");
lowerRange = keyboard.nextInt();
</code></pre>

<p>Any help would be appreciated </p>
