Write a program that reads five words from the standard input and outputs the words in one line. In the output, the words should be separated by a single space.
Reading data with readln
How to learn the whole Kotlin per one task
Report a typo
Sample Input 1:
Never
gonna
give
you
upSample Output 1:
Never gonna give you upSample Input 2:
Never
gonna
let
you
downSample Output 2:
Never gonna let you downSample Input 3:
Never
gonna
run
around
andSample Output 3:
Never gonna run around andWrite a program in Kotlin
fun main() {
// put your code here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.