@@ -0,0 +1,438 @@
+class discreteRand %7B%0A       %0A  private int lo;%0A  private int hi;%0A  %0A  public discreteRand() %7B%0A          lo = 0;%0A          hi = 0;%0A  %7D%0A  %0A  public discreteRand(int low, int high) %7B%0A          lo=low;%0A          hi=high;%0A  %7D%0A  %0A  public void setDiscreteRand(int low, int high) %7B%0A  %09  lo = low;%0A    %09hi = high;%0A  %7D%0A  %0A  public int getDiscreteRand() %7B%0A          int rng = hi - lo + 1;%0A          return ((int)(Math.random() * rng) + lo);%0A  %7D%0A%0A%7D%0A

Create discreteRand.java