Guest User

Untitled

a guest
Feb 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. puts 'SAY SOMETHING WILL YA!'
  2. r=(1930..2000)
  3.  
  4. response = nil
  5.  
  6. while response != 'bye'.upcase
  7. response = gets.chomp
  8. if response == response.upcase
  9. puts 'NOT SINCE '+(rand(r.last-r.first)+r.first).to_s+ '!'
  10. else
  11. puts 'WHATS THAT?!?!'
  12.  
  13. end
  14. end
  15. puts 'GOOD BYE!'
Add Comment
Please, Sign In to add comment