+ 1
fun main(args : Array<String>) { println("kotin is great") } , code sahi hai phir b no input dikha rha hai
Output b sahi dikha rha hai But no input kyu dikha rha hai.
12 Respuestas
+ 7
Whoa! Well tried with translation Ugulberto Sánchez 👏
I was answering and your answer popped up.
+ 6
Bhai AKSHIT KAUSHIK , mujhe wahi output dikh raha jo tune likha hai
fun main(args : Array<String>) {
println("kotin is great")
}
👆 ye tera code hai.. iska output hoga... (kotin is great)
Waise yahan spelling error hai.. "Kotlin" sahi shabd hai "kotin" galat hai
+ 5
Yahaan koi input dikhaya nahin jaa raha hai kyunki aapne diya hua code koi input nahin mangta.
+ 5
D Shah 🎯⏳️ Google translate is like a god 😎, thanks! 😊
+ 4
AKSHIT KAUSHIK , tumhe input wala lesson phir se padho. Input, readline() function use karke liya jata hai.. jaise Ugulberto Sánchez ne example bataya waise.
Agar nahi aaye to tumhe lesson thek se nahi samajh aaya, wapas se learn karo
+ 3
Agar aap chahte hain ki code ek input le, to aapko readLine() function ka upyog karna hoga.
val name = readLine()
println(“Hello, $name!”)
+ 2
Upload apna private code yahan tak ki main use dekh sakun. Agar tumhe iska tarika nahi pata, toh is tutorial ko follow karo:
https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
+ 1
Kehna ka matlab ye hai ki m kotlin ki practice kr rha hu but code m no input dikha rha hai.
+ 1
Sololearn m kotlin ka first program Run nahi ho rha , please kya aapke p run ho rha hai ek bar try kre, phir mujhe btaye.
+ 1
Bhai m input ka lesson nahi kr rha hu m too first program in kotlin kr rha hu , mera code thik hai phir b Galt bta rha hai kyu?
0
Jb doubt clear hoga tabhi too padhunga, question krna galt nahi hai , question krne tb galt hote hai jb faltu k question krte hai.