6 lines
154 B
Scala
6 lines
154 B
Scala
object Main extends App {
|
|
|
|
val raining = true
|
|
val needUmbrella = raining
|
|
println(s"Do I need an umbrella? ${if (needUmbrella) "Yes" else "No"}")
|
|
}
|