Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def topla(sayi1: Int, sayi2: Int): Int = sayi1 + sayi2
- def toplamCiftMi(sayi1: Int, sayi2: Int): Boolean = {
- val toplam: Int = topla(sayi1, sayi2)
- val mod2: Boolean = toplam % 2
- mod2 == 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement