Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.