/deaf_aunty.rb Secret
Last active
November 27, 2023 01:09
-
Star
(0)
You must be signed in to star a gist -
Fork
(175)
You must be signed in to fork a gist
-
-
Save nextacademy-private/a64f2e55e54ae1e3e6aa 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
# Save this file to your computer so you can run it | |
# via the command line (Terminal) like so: | |
# $ ruby deaf_aunty.rb | |
# | |
# Your method should wait for user input, which corresponds | |
# to you saying something to your Aunty. | |
# You'll probably want to write other methods, but this | |
# encapsulates the core Aunty logic | |
def deaf_aunty | |
end | |
# Run our method | |
deaf_aunty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
Pseudocode:
say something to granny
if you don't shout
if you do shout
if you say the magic line