Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Learning Ruby is fun!
#1
I just made my first program with Ruby! A badass tip calculator. At first while reading these books on the programming language, I was pretty overwhelmed. I did the tutorials for "Hello World" and whatnot, studied variables and conditions, and decided to just wing it and apply some of the things I learned. Simple math was obvious from the start, so I thought a tip calculator would be a great test of skill. My particular program utilizes simple variables, the gets method for requesting user input, if-else condition to check for negative numbers, and of course the math to calculate your share of the bill.

I'm really satisfied with myself at this point and feeling pretty excited about learning Ruby. I thought I'd share it with the community so they can feel as much joy as I do :P

Oh well, off to learn more!
THIS THREAD HAS JUST BEEN AMP-LIFIED.
}


Messages In This Thread
Learning Ruby is fun! - by amp - 07-07-2010, 09:27 AM
Learning Ruby is fun! - by ovan35 - 07-07-2010, 09:27 AM
Learning Ruby is fun! - by jubhub731 - 07-07-2010, 09:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Learning + Programming + Speed kyonides 0 1,129 02-24-2022, 10:15 PM
Last Post: kyonides
   Ruby the OOP language! kyonides 2 4,589 09-04-2020, 05:14 AM
Last Post: DerVVulfman



Users browsing this thread: