Created
January 5, 2015 14:05
-
-
Save shigemk2/3834d87a5c9d6aa840d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val name = "Fred" | |
val age = 33 | |
val weight = 200.0 | |
println(s"$name is $age years old, and weighs $weight pounds.") | |
println(s"Age next year: ${age + 1}") | |
println(s"You are 33 years old: ${age == 33}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment