Days of the week

Report a typo

Write a program that declares an enum DaysOfTheWeek and prints the name of each enum's instance on a new line, starting from SUNDAY.

Write a program in Kotlin
enum DaysOfTheWeek {
// write here
}

fun main() {
// write here
}
___

Create a free account to access the full topic