Write a program that reads a number and prints it the number of times corresponding to the value of the input number.
Loops: repeat statement
Repeat by value
Report a typo
Sample Input 1:
5Sample Output 1:
55555Sample Input 2:
10Sample Output 2:
10101010101010101010Write a program in Kotlin
fun main() {
// write 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.