wilcox.31
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
i = ask"How many numbers do you want to average"
i =i.to_i
sum = 0
i.times do
x = ask"Please enter a number"
x = x.to_i
sum = sum + x
end
alert "The average of the numbers is " + (sum.to_f/i.to_f).to_s