W
Will Mueller
I recently actually started "studying" ruby again and attempted to
create a program that would add numbers and print them out (on the
screen of course). Of course the following code would not work:
time1=1
10000000.times do
puts time1+1
end
All it would do, is simply print out the number 2, 10000000 times. I
continually got errors when editing it. Could someone please assist?
With Thanks,
create a program that would add numbers and print them out (on the
screen of course). Of course the following code would not work:
time1=1
10000000.times do
puts time1+1
end
All it would do, is simply print out the number 2, 10000000 times. I
continually got errors when editing it. Could someone please assist?
With Thanks,