Swift Program to print string value

Program

print("Please enter your name: ", terminator: "")
let name = readLine()
print("Your name is: \(name!)")

Output

$ swift user_input_string.swift
Please enter your name: oodlescoop
Your name is: oodlescoop