Computer Science, asked by ayush1623, 6 months ago

what is kotlin ? write the function of kotlin.​

Answers

Answered by atharva420
16

Answer:

\huge\underbrace\mathfrak\purple{Answer:-}

A function is a unit of code that performs a special task. In programming, function is used to break the code into smaller modules which makes the program more manageable. For example: If we have to compute sum of two numbers then define a fun sum() .....

Before you can use (call) a function, you need to define it. To define a function in Kotlin, fun keyword is used. Then comes the name of the function (identifier). Here, the name of the function is callMe .....

please mark as brainliest....

Answered by Anonymous
1

Answer:

Last Updated: 27-05-2019. A function is a unit of code that performs a special task. In programming, function is used to break the code into smaller modules which makes the program more manageable. For example: If we have to compute sum of two numbers then define a fun sum() .

Explanation:

Similar questions