Task

Create an enumeration of constants with and without explicit values.




enum Fruit {
    |apple
    |banana
    |cherry
}
 
enum Season {
    |winter = 1
    |spring = 2
    |summer = 3
    |autumn = 4
}