nums = [] 5.times do |i| nums[i] = 20+Random.rand(11)p nums[i]end
Standard input is empty
29 27 26 21 27
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!