Using Math.random() to Generate random numbers in the range a to b
Channel:
Subscribers:
1,540
Published on ● Video Link: https://www.youtube.com/watch?v=6e2ZzpyWzvw
Using Math.random() to Generate random numbers in the range a to b.
In this tutorial, I have explained how we can use the Java Math.random() function to generate random numbers in the range a to b. This can be used to fill an array or a matrix with random numbers.
#random #isc #computerscience #java