Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 430 Bytes

returning_strings.md

File metadata and controls

14 lines (11 loc) · 430 Bytes

Description

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