Computer Science, asked by anurag5923, 1 year ago

explain the purpose of a function

Answers

Answered by PiyushSinghRajput1
0
Most programming languages come with a prewritten set of functions that are kept in a library. You can also write your own functions to perform specialized tasks. (2) The term function is also used synonymously with operation and command. For example, you execute the delete function to erase a word.
Answered by Cheemaking
1
In programming, a named section of a program that performs a specific task. In this sense, a function is a type of procedure or routine. Some programming languages make a distinction between a function, which returns a value, and a procedure, which performs some operation but does not return a value.


i hope help you
Similar questions