Created
December 4, 2015 20:20
-
-
Save makiftutuncu/5b53802d5d01231e1ac7 to your computer and use it in GitHub Desktop.
Scala'da Temel Kavramlar yazısınındaki örnek
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
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