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 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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+'!') }

12th Jun 2022, 3:12 AM
Fhad Ochoa
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.
12th Jun 2022, 12:34 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Try println("Welcome, " + x + "!") I think the only 'problem' with your code is the missing space after the comma.
15th Jun 2022, 9:19 AM
Ausgrindtube
Ausgrindtube - avatar
0
Sorry i'm new in this, about kotlin program.
15th Jun 2022, 1:19 AM
Fhad Ochoa