Repeat by value

Report a typo

Write a program that reads a number and prints it the number of times corresponding to the value of the input number.

Sample Input 1:

5

Sample Output 1:

55555

Sample Input 2:

10

Sample Output 2:

10101010101010101010
Write a program in Kotlin
fun main() {
// write your code here

}
___

Create a free account to access the full topic