iOS Swift Basics Swift Types String Manipulation

?what to I do

what to do

// Enter your code below
let name = "ella"
let greeting = '\(hi there"), \(name)"
let finalGreeting + ". how are you?

1 Answer

Victor Mercier
Victor Mercier
Treehouse Moderator 14,635 Points

To pass the challenge, just do the following:

//name constant declaration
let name = "Victor Mercier"
//greeting declaration using interpolation
let greeting = "Hi there, \(name)"
//finalGreeting declaration using concatenation
let finalGreeting = greeting + "How are you?"

If that helped you, please mark as best answer to indicate other student your issue is resolved!