Write a snippet of code—not a function—that:
lucky
of type Char
and initializes it to 8
eachDay
of type Double
and initializes it to 1.0
age
of type Int
and initializes it to 88
learnCSOnline
of type Boolean
and initializes it to true
Note that because Kotlin performs type inference, you can and should solve this problem without explicitly specifying any types.