/deaf_aunty.rb Secret
Last active
November 2, 2015 11:09
-
-
Save chiapei13/e5b25b50368d7d7cdc01 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def deaf_aunty | |
| talk = "" | |
| while talk != nil | |
| puts "Say Something" | |
| talk = gets.chomp | |
| if talk == "polite" | |
| talk = gets.chomp | |
| if talk == "" | |
| talk = gets.chomp | |
| if talk == "" | |
| break | |
| end | |
| end | |
| elsif talk == talk.upcase | |
| puts "BIG" | |
| elsif talk != "polite" | |
| puts "small" | |
| end | |
| end | |
| end | |
| deaf_aunty |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if press enter = showing BIG instead of nothing = YOU HAVE TO FIX AT HOME!!