Echoes of Daily Echoes: A Weekly Reflection

Report a typo

You have a string variable for your daily activities that needs to be repeated for a whole week and then printed. Fill in the blanks in the code to set the type of the variable to a string, repeat your daily activities 7 times, and finally, use the right function to output the entire week's routine.

Fill in the gaps with the relevant elements
fun main() {
     dailyRoutine = "Wake up. Exercise. Breakfast.\n"
    val weeklyRoutine = dailyRoutine.(7)
    (weeklyRoutine)
}
printlnforEachprintvalrepeatvar

Create a free account to access the full topic