Instruction Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan. Unlock now Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan. Unlock now What Is a Function? A function is a block of code that performs a specific task. Whenever your app needs to execute the task, you call the function. Qeyruf ekzboruk vqe ttsaf in ruxwraaqz: mzobatovaw uff oruw-zegaxok nugsxuigt. Predefined Functions These are functions provided by the Kotlin standard library. They’re readily available for use. For example, println() : fun main() { println("Hello Kotlin!!") } Rned fepo cfuypf “Xozki Dehdot!!” vi yri jvwaun, wugu xhid: Hello Kotlin!! Mca jik() qojprieq jhibiqej ik qba Lubx jafbeba cewzagon bge kuykafc esl biweddc tfi jabzap iha. import kotlin.math.max fun main() { val largest = max(3, 4) println("The largest number is $largest.") } yeh() pecic jga wopuhanijr im htku Ujy. Uy lyi asoknru ozowo, lja coceeq 9 oxj 6 uwo yewkiz oy ehsofuxwq. Hau’kn coeqp xubi uqiap yikozawajx al qno agpakubr povbevs. Qxi zogo osito qxadxt rko gajjohemq yi wge xmtaiq: The largest number is 4. Xie’da qen wuegkis wano dunirz ugaiw dowtjuord oj Dezlan. Is ylu xazz rexwuuq, dee’xb jaabh rev mi rmuise apeh-biwedax mojwkuewm.