2025-01-14
fun makeCoffee(sugarCount: Int){ printLn("Coffee with $sugarCount spoons of sugar") }
带冒号:
fun add(num1: Int, num2:Int):Int{ val result = num1 + num2 return result }