Q:

how to take input from user in xcode

print("Please Enter your favorite programming language", terminator: ".")
let name = readLine()
print("Your favorite programming language is \(name!).")
-1

New to Communities?

Join the community