```fun main() { println("Enter any word: ") val ...
# getting-started
t
Copy code
fun main() {
 println("Enter any word: ")
 val yourWord = readln()
 print("You entered the word: ")
 println(yourWord)
}
https://pl.kotl.in/3HyAGeKZ8
k
The online compiler doesn't have an interactive running mode. Try it on the command line on your local machine.
t
Right, it worked when compiled from CMD. Later on I will work on Jetpack Compose for Android development. I'm going to use Kotlin from CMD for now and when mastered it well, will install Android Studio for that and Jetpack Compose as well. Do you agree, please?
k
That's ok for very small programs, while learning the language, but once you start needing third-party dependencies you really should start using an IDE such as Android Studio and a build system such as Gradle. Without them, it becomes too complicated.
🙌 1
👍 1