Created
October 7, 2013 05:16
-
-
Save chug2k/6862864 to your computer and use it in GitHub Desktop.
This file contains 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 almost_done(a, b, c) | |
puts "#{a} is almost done with #{b}, #{c}, and #{d}!" | |
end | |
d = "this section of quizzes!" | |
almost_done("breakfast", "lunch", "dinner") |
@zaidi11c I should have been more explicit in this problem statement. Your code has no errors, but doesn't do what I want. The output I would like to see is the following slightly non-sensical sentence:
breakfast is almost done with lunch, dinner, and this section of quizzes!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
def almost_done(a, b, c)
puts "#{a} is almost done with #{b}, #{c}" #, and #{d}!"
end
d = "this section of quizzes!"
almost_done("breakfast", "lunch", "dinner")