0 Members and 2 Guests are viewing this topic.
"welcome to the world of computers, where everything seems to be based on random number generators"
I started with Alice (more of a learning tool) and then KidBasic (now called BASIC256). Two years ago, I got my first TI Calc. Now, One year ago, I got serious.
FizzBuzz
100.times do |index| puts (index%3==0)?("fizz"):((index%5==0)?("buzz"):(index.to_s))end
What language is that?
Quote from: boot2490 on September 29, 2011, 07:22:30 pmWhat language is that?Ruby. A programmer's best friend.