Skip to content

Instantly share code, notes, and snippets.

@makiftutuncu
Created December 4, 2015 20:20
Show Gist options
  • Save makiftutuncu/5b53802d5d01231e1ac7 to your computer and use it in GitHub Desktop.
Save makiftutuncu/5b53802d5d01231e1ac7 to your computer and use it in GitHub Desktop.
Scala'da Temel Kavramlar yazısınındaki örnek
var sayi: Int = 6
var metin = "Sayı çift mi?"
var ciftMi: Boolean = _
println("Sayı: " + sayi)
println(metin + " " + ciftMi)
ciftMi = sayi % 2 == 0
println("Tekrar bak.")
println(metin + " " + ciftMi)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment