iOS Swift Basics Swift Types String Manipulation

Michael Jenkins
Michael Jenkins
133 Points

Iinterpolated.. what am I missing here?

Hi, what am I missing here?

let name = "michael" let greeting = "Hi there," let interpolatedAddress = "(name), (greeting)"

Thank you.

strings.swift
// Enter your code below
// String Interpolation

let name = "michael"
let greeting = "Hi there,"
let interpolatedAddress = "\(name), \(greeting)"

1 Answer

// Enter your code below

let name = "Michael"
let greeting = "Hi there, \(name)"

let finalGreeting = greeting + " How are you?"