reaper540
and many others are using
Hackety Hack
to learn how to code.
Hackety Hack is a free program for Windows, Mac OS X and Linux that can teach you how to make games, applications and more and share those programs with your friends. You can ask other budding programmers questions and follow them to see what code they're working on through the Hackety Hack website.
Sign up
Learn More
numelements = ask " Please enter the number of values to average "
numelements = numelements.to_i
ave = 0
element = 0
number = 0
numelements.times do
element = ask " Please enter a number to average "
element = element.to_i
number = number + element
end
ave= number / numelements
alert " The average is: " + ave.to_s