Here is our complete code for the class TestRandomPlus:
import genesis.*;
public class TestRandomPlus {
/*
Tests the class RandomPlus.
*/
public static void main (String [] args) {
RandomPlus rand = new RandomPlus();
int next;
for (int i=1; i <= 100; i++) {
next = rand.nextIntInRange(25, 36);
Transcript.print(next+" ");
}
}
}
Previous Hint