The command rand() is available to use for this purpose. The function returns an integer number beginning from zero(0). The following sample code demonstrates the use of rand().
Shathana. S.R. Asked question April 28, 2023
Not a member yet? Register now
Are you a member? Login now