#Create an array with 'size' rand numbers between 's_n' and 'e_n'
size=10
s_n=0
e_n=100
arr=Array.new(size){ rand(s_n..e_n) }
Last active
August 29, 2015 14:03
-
-
Save daddydanielt/057a4f2328bcef5d20af to your computer and use it in GitHub Desktop.
Ruby Code Snippets
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment