+ 1

Why is this code not working?

fun main(args: Array<String>) { var x = readLine() println("Welcome," +x+ '!') }

28th Mar 2023, 4:58 PM
Valerie Mbaka
Valerie Mbaka - avatar
5 Respuestas
+ 5
Val Your code is working perfectly. https://code.sololearn.com/c4cbNy4G18uS/?ref=app If you are getting error then please provide more details.
28th Mar 2023, 5:19 PM
R🍁🇮🇳
R🍁🇮🇳 - avatar
+ 2
I've tried running it but it keeps on crashing
28th Mar 2023, 5:07 PM
Valerie Mbaka
Valerie Mbaka - avatar
+ 2
can you share your code, sorry I won't be able to help you now but I think ma'am R🌸🇮🇳 can help. **Sorry I've to exit now**
28th Mar 2023, 5:12 PM
Just Some Random Guy
Just Some Random Guy - avatar
+ 2
Ok
28th Mar 2023, 5:15 PM
Valerie Mbaka
Valerie Mbaka - avatar
+ 1
Val well I can see that the code is fully correct are you trying to add some features?
28th Mar 2023, 5:05 PM
Just Some Random Guy
Just Some Random Guy - avatar