Skip to content

Instantly share code, notes, and snippets.

🌝

Alison Cross AlisonACross

🌝
Block or report user

Report or block AlisonACross

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View AlisonRuby.rb
print "Do you like jokes? (enter 1 for yes, 0 for no): "
answer = Integer(gets)
if (answer == 1)
print "Great! How many programmers does it take to change a light bulb? None, thats a hardware problem!"
elsif (answer == 0)
print "Too bad. Whats the object-oriented way to become wealthy? Inheritance."
else
print "You dont know how to follow directions, do you?"
end
You can’t perform that action at this time.