Write a program that reads a line and then prints it 10 times, each on a new line. A line may include multiple words separated by spaces.
Loops: repeat statement
Print a string exactly ten times
Report a typo
Sample Input 1:
I will not use copy-paste!Sample Output 1:
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!
I will not use copy-paste!Write 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.