Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 329 Bytes

8 kyu - Returning Strings.md

File metadata and controls

12 lines (10 loc) · 329 Bytes

Task

Make a function that will return a greeting statement that uses an input; your program should return, "Hello, how are you doing today?".

[Make sure you type the exact thing I wrote or the program may not execute properly]

My solution

def greet(name)
  "Hello, #{name} how are you doing today?"
end