Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2015 12:42
Show Gist options
  • Save anonymous/b18722b2125bbc068066 to your computer and use it in GitHub Desktop.
Save anonymous/b18722b2125bbc068066 to your computer and use it in GitHub Desktop.
puts "Say something to Grandma:"
grand_son = gets.chomp
if grand_son == grand_son.upcase
puts 'NO, NOT SINCE ' + (rand (1950)).to_s
elsif grand_son == 'BYE'
puts "OKAY,GOOD BYE BABY"
else
puts "HuH?! SPEAK UP , SONNY!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment