- 2
Can someone help me pls it says the exercise is rigth but the begin with an x is in the exercise 6.2 pls thanks
Topic 6.2 fun main(args: Array<String>) { var x = readLine() println("Welcome," + x+'!') }
3 Answers
+ 1
Can you tag which language you are learning?
Also maybe add a bit more information, it's not clear what you want.
+ 1
Try
println("Welcome, " + x + "!")
I think the only 'problem' with your code is the missing space after the comma.
0
Sorry i'm new in this, about kotlin program.