Hello again Ashleigh!
Please download the files here:DOWNLOAD
The files now do what you have indicated. I also added the average and max to the gradebook one.
Here is how you generate random numbers in java. You use the random class:Random gen = new Random();
I now have an object instance of the Random class called gen
I can use this object to generate random numbers. You would call:gen.nextInt(100);
That returns a random number from 0 - 100, non-inclusive. Non-inclusive means that it doesn't include 100. The possible values of the random number are 0 - 99.
If you need 0 - 100, you would use gen.nextInt(101)
On the other hand, if you needed 1 - 100, you would use:gen.nextInt(100) + 1;
Again, both of your applications are now functioning correctly. Let me know if you have any questions. I'm here to help!
If you require assistance in the future, please feel free to request me directly by starting your question with **For TheDoctor**
Please remember to rate my answer. Thank you so much and have a wonderful day!