fun main(args : Array<String>) { var age = readLine (23) println("I'm acutally " + age) } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

fun main(args : Array<String>) { var age = readLine (23) println("I'm acutally " + age) }

what's wrong? it's not working

9th Mar 2021, 9:50 AM
Mehedi Hassan
Mehedi Hassan - avatar
4 Answers
+ 1
Use relevant language name in your tags instead of "help" please.
9th Mar 2021, 10:06 AM
Abhay
Abhay - avatar
+ 1
Use description place properly to add code or links.. Add language as tag in which you are trying code. In readLine() , remove space and 23 , give input fun main(args : Array<String>) { var age = readLine() println("I'm acutally " + age) }
9th Mar 2021, 10:09 AM
Jayakrishna 🇮🇳
0
so i let the readLine() blank?? then how am i gonna input my value?
9th Mar 2021, 10:12 AM
Mehedi Hassan
Mehedi Hassan - avatar
0
A pop up will come , then give needed values there..
9th Mar 2021, 10:14 AM
Jayakrishna 🇮🇳