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



Duration: 0:00
105 views
7


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