Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * You can edit, run, and share this code.
- * play.kotlinlang.org
- */
- fun hitung(a: Int, b: Int): String{
- val jumlah = a + b
- val sum = jumlah.toString()
- return sum
- }
- fun main() {
- val sum = hitung(20,20)
- print(sum)
- }
Add Comment
Please, Sign In to add comment