-
-
Save BT878/bf4b26f08aff4d258bb7 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
| puts"Hey boy, hows it going?" | |
| reply1 = gets.chomp | |
| counter = 0 | |
| while counter <= 1 | |
| if reply1 == "" | |
| p reply1 | |
| p counter | |
| counter += 1 | |
| reply1 = gets.chomp | |
| elsif reply1 == reply1.upcase | |
| puts "NO, WE CAN'T DO THAT!" | |
| reply1 = gets.chomp | |
| else | |
| puts "HUH?! SPEAK UP, SANDRA!" | |
| reply1 = gets.chomp | |
| end | |
| end | |
| puts "okay boy, see ya later" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment