wes d2a2ba9e15 first commit | 4 年 前 | |
---|---|---|
.. | ||
README.md | 4 年 前 | |
code.cpp | 4 年 前 | |
unitTest.cpp | 4 年 前 |
by Matt tags: strings, language_fundamentals, formatting
Create a function that takes a name and returns a greeting in the form of a string. Examples helloName("Gerald") ➞ "Hello Gerald!" helloName("Tiffany") ➞ "Hello Tiffany!" helloName("Ed") ➞ "Hello Ed!" Notes The input is always a name (as string). Don't forget the exclamation mark! If you get stuck on a challenge, find help in the Resources tab. If you're r
Create a function that takes a name and returns a greeting in the form of a string.
helloName("Gerald") ➞ "Hello Gerald!"
helloName("Tiffany") ➞ "Hello Tiffany!"
helloName("Ed") ➞ "Hello Ed!"